Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR resources/resource-manager] Add deployment APIs for Microsoft.Resources #3305

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/features/arm-features/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 0 additions & 3 deletions sdk/features/arm-features/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
## Related projects

- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)


![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/features/arm-features/README.png)
8 changes: 4 additions & 4 deletions sdk/features/arm-features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "FeatureClient Library with typescript type definitions for node.js and browser.",
"version": "1.0.2",
"dependencies": {
"@azure/ms-rest-azure-js": "^1.2.0",
"@azure/ms-rest-js": "^1.2.0",
"@azure/ms-rest-azure-js": "^1.3.2",
"@azure/ms-rest-js": "^1.8.1",
"tslib": "^1.9.3"
},
"keywords": [
Expand All @@ -26,7 +26,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.4.9"
},
"homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/features/arm-features",
"homepage": "https://github.com/azure/azure-sdk-for-js",
"repository": {
"type": "git",
"url": "https://github.com/azure/azure-sdk-for-js.git"
Expand Down Expand Up @@ -54,5 +54,5 @@
"prepack": "npm install && npm run build"
},
"sideEffects": false,
"authPublish": true
"autoPublish": true
}
11 changes: 4 additions & 7 deletions sdk/features/arm-features/src/models/featuresMappers.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
CloudError,
FeatureOperationsListResult,
FeatureResult,
FeatureProperties,
CloudError
FeatureResult
} from "../models/mappers";

71 changes: 24 additions & 47 deletions sdk/features/arm-features/src/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,139 +1,108 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";

export { BaseResource, CloudError };


/**
* @interface
* An interface representing FeatureProperties.
* Information about feature.
*
*/
export interface FeatureProperties {
/**
* @member {string} [state] The registration state of the feature for the
* subscription.
* The registration state of the feature for the subscription.
*/
state?: string;
}

/**
* @interface
* An interface representing FeatureResult.
* Previewed feature information.
*
*/
export interface FeatureResult {
/**
* @member {string} [name] The name of the feature.
* The name of the feature.
*/
name?: string;
/**
* @member {FeatureProperties} [properties] Properties of the previewed
* feature.
* Properties of the previewed feature.
*/
properties?: FeatureProperties;
/**
* @member {string} [id] The resource ID of the feature.
* The resource ID of the feature.
*/
id?: string;
/**
* @member {string} [type] The resource type of the feature.
* The resource type of the feature.
*/
type?: string;
}

/**
* @interface
* An interface representing OperationDisplay.
* The object that represents the operation.
*
*/
export interface OperationDisplay {
/**
* @member {string} [provider] Service provider: Microsoft.Features
* Service provider: Microsoft.Features
*/
provider?: string;
/**
* @member {string} [resource] Resource on which the operation is performed:
* Profile, endpoint, etc.
* Resource on which the operation is performed: Profile, endpoint, etc.
*/
resource?: string;
/**
* @member {string} [operation] Operation type: Read, write, delete, etc.
* Operation type: Read, write, delete, etc.
*/
operation?: string;
}

/**
* @interface
* An interface representing Operation.
* Microsoft.Features operation
*
*/
export interface Operation {
/**
* @member {string} [name] Operation name: {provider}/{resource}/{operation}
* Operation name: {provider}/{resource}/{operation}
*/
name?: string;
/**
* @member {OperationDisplay} [display] The object that represents the
* operation.
* The object that represents the operation.
*/
display?: OperationDisplay;
}

/**
* @interface
* An interface representing FeatureClientOptions.
* @extends AzureServiceClientOptions
*/
export interface FeatureClientOptions extends AzureServiceClientOptions {
/**
* @member {string} [baseUri]
*/
baseUri?: string;
}


/**
* @interface
* An interface representing the OperationListResult.
* Result of the request to list Microsoft.Features operations. It contains a
* list of operations and a URL link to get the next set of results.
*
* Result of the request to list Microsoft.Features operations. It contains a list of operations
* and a URL link to get the next set of results.
* @extends Array<Operation>
*/
export interface OperationListResult extends Array<Operation> {
/**
* @member {string} [nextLink] URL to get the next set of operation list
* results if there are any.
* URL to get the next set of operation list results if there are any.
*/
nextLink?: string;
}

/**
* @interface
* An interface representing the FeatureOperationsListResult.
* List of previewed features.
*
* @extends Array<FeatureResult>
*/
export interface FeatureOperationsListResult extends Array<FeatureResult> {
/**
* @member {string} [nextLink] The URL to use for getting the next set of
* results.
* The URL to use for getting the next set of results.
*/
nextLink?: string;
}
Expand All @@ -150,6 +119,7 @@ export type ListOperationsResponse = OperationListResult & {
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
Expand All @@ -169,6 +139,7 @@ export type ListOperationsNextResponse = OperationListResult & {
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
Expand All @@ -188,6 +159,7 @@ export type FeaturesListAllResponse = FeatureOperationsListResult & {
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
Expand All @@ -207,6 +179,7 @@ export type FeaturesListResponse = FeatureOperationsListResult & {
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
Expand All @@ -226,6 +199,7 @@ export type FeaturesGetResponse = FeatureResult & {
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
Expand All @@ -245,6 +219,7 @@ export type FeaturesRegisterResponse = FeatureResult & {
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
Expand All @@ -264,6 +239,7 @@ export type FeaturesListAllNextResponse = FeatureOperationsListResult & {
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
Expand All @@ -283,6 +259,7 @@ export type FeaturesListNextResponse = FeatureOperationsListResult & {
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
Expand Down
6 changes: 2 additions & 4 deletions sdk/features/arm-features/src/models/mappers.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
Expand Down
2 changes: 1 addition & 1 deletion sdk/links/arm-links/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 0 additions & 3 deletions sdk/links/arm-links/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
## Related projects

- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)


![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/links/arm-links/README.png)
8 changes: 4 additions & 4 deletions sdk/links/arm-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "ManagementLinkClient Library with typescript type definitions for node.js and browser.",
"version": "1.0.1",
"dependencies": {
"@azure/ms-rest-azure-js": "^1.2.0",
"@azure/ms-rest-js": "^1.2.0",
"@azure/ms-rest-azure-js": "^1.3.2",
"@azure/ms-rest-js": "^1.8.1",
"tslib": "^1.9.3"
},
"keywords": [
Expand All @@ -26,7 +26,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.4.9"
},
"homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/links/arm-links",
"homepage": "https://github.com/azure/azure-sdk-for-js",
"repository": {
"type": "git",
"url": "https://github.com/azure/azure-sdk-for-js.git"
Expand Down Expand Up @@ -54,5 +54,5 @@
"prepack": "npm install && npm run build"
},
"sideEffects": false,
"authPublish": true
"autoPublish": true
}
Loading