@azure/arm-visualstudio 2.2.0 → 4.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +21 -21
- package/README.md +98 -96
- package/dist/index.js +1332 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.d.ts +2 -0
- package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.js +33 -0
- package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.js.map +1 -0
- package/dist-esm/samples-dev/createAProjectResource.d.ts +2 -0
- package/dist-esm/samples-dev/createAProjectResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/createAProjectResource.js +43 -0
- package/dist-esm/samples-dev/createAProjectResource.js.map +1 -0
- package/dist-esm/samples-dev/createAnAccountResource.d.ts +2 -0
- package/dist-esm/samples-dev/createAnAccountResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/createAnAccountResource.js +32 -0
- package/dist-esm/samples-dev/createAnAccountResource.js.map +1 -0
- package/dist-esm/samples-dev/createAnExtensionResource.d.ts +2 -0
- package/dist-esm/samples-dev/createAnExtensionResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/createAnExtensionResource.js +44 -0
- package/dist-esm/samples-dev/createAnExtensionResource.js.map +1 -0
- package/dist-esm/samples-dev/deleteAnAccountResource.d.ts +2 -0
- package/dist-esm/samples-dev/deleteAnAccountResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteAnAccountResource.js +31 -0
- package/dist-esm/samples-dev/deleteAnAccountResource.js.map +1 -0
- package/dist-esm/samples-dev/deleteAnExtensionResource.d.ts +2 -0
- package/dist-esm/samples-dev/deleteAnExtensionResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteAnExtensionResource.js +32 -0
- package/dist-esm/samples-dev/deleteAnExtensionResource.js.map +1 -0
- package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.js +30 -0
- package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.js +31 -0
- package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.d.ts +2 -0
- package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.js +29 -0
- package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.js.map +1 -0
- package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.d.ts +2 -0
- package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.js +31 -0
- package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.js.map +1 -0
- package/dist-esm/samples-dev/getAProjectResource.d.ts +2 -0
- package/dist-esm/samples-dev/getAProjectResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAProjectResource.js +32 -0
- package/dist-esm/samples-dev/getAProjectResource.js.map +1 -0
- package/dist-esm/samples-dev/getAnAccountResource.d.ts +2 -0
- package/dist-esm/samples-dev/getAnAccountResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAnAccountResource.js +31 -0
- package/dist-esm/samples-dev/getAnAccountResource.js.map +1 -0
- package/dist-esm/samples-dev/getAnExtensionResource.d.ts +2 -0
- package/dist-esm/samples-dev/getAnExtensionResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAnExtensionResource.js +32 -0
- package/dist-esm/samples-dev/getAnExtensionResource.js.map +1 -0
- package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.d.ts +2 -0
- package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.d.ts.map +1 -0
- package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.js +36 -0
- package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.js.map +1 -0
- package/dist-esm/samples-dev/updateAProjectResource.d.ts +2 -0
- package/dist-esm/samples-dev/updateAProjectResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateAProjectResource.js +40 -0
- package/dist-esm/samples-dev/updateAProjectResource.js.map +1 -0
- package/dist-esm/samples-dev/updateAnExtensionResource.d.ts +2 -0
- package/dist-esm/samples-dev/updateAnExtensionResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateAnExtensionResource.js +44 -0
- package/dist-esm/samples-dev/updateAnExtensionResource.js.map +1 -0
- package/dist-esm/src/index.d.ts +4 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +11 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +253 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +18 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +171 -228
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +21 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +86 -49
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +57 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +185 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/dist-esm/src/operations/extensions.d.ts +54 -0
- package/dist-esm/src/operations/extensions.d.ts.map +1 -0
- package/dist-esm/src/operations/extensions.js +190 -0
- package/dist-esm/src/operations/extensions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +42 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/projects.d.ts +77 -0
- package/dist-esm/src/operations/projects.d.ts.map +1 -0
- package/dist-esm/src/operations/projects.js +253 -0
- package/dist-esm/src/operations/projects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensions.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/extensions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts +69 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.js +9 -0
- package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
- package/dist-esm/src/visualStudioResourceProviderClient.d.ts +21 -0
- package/dist-esm/src/visualStudioResourceProviderClient.d.ts.map +1 -0
- package/dist-esm/src/visualStudioResourceProviderClient.js +54 -0
- package/dist-esm/src/visualStudioResourceProviderClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +83 -34
- package/review/arm-visualstudio.api.md +314 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +11 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +298 -0
- package/{lib → src}/models/mappers.ts +175 -232
- package/src/models/parameters.ts +201 -0
- package/src/operations/accounts.ts +261 -0
- package/src/operations/extensions.ts +259 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/operations.ts +55 -0
- package/src/operations/projects.ts +356 -0
- package/src/operationsInterfaces/accounts.ts +96 -0
- package/src/operationsInterfaces/extensions.ts +91 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/projects.ts +128 -0
- package/src/visualStudioResourceProviderClient.ts +91 -0
- package/tsconfig.json +6 -5
- package/types/arm-visualstudio.d.ts +493 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-visualstudio.js +0 -1562
- package/dist/arm-visualstudio.js.map +0 -1
- package/dist/arm-visualstudio.min.js +0 -1
- package/dist/arm-visualstudio.min.js.map +0 -1
- package/esm/models/accountsMappers.d.ts +0 -2
- package/esm/models/accountsMappers.d.ts.map +0 -1
- package/esm/models/accountsMappers.js +0 -11
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/extensionsMappers.d.ts +0 -2
- package/esm/models/extensionsMappers.d.ts.map +0 -1
- package/esm/models/extensionsMappers.js +0 -11
- package/esm/models/extensionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -671
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -20
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -14
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/projectsMappers.d.ts +0 -2
- package/esm/models/projectsMappers.d.ts.map +0 -1
- package/esm/models/projectsMappers.js +0 -11
- package/esm/models/projectsMappers.js.map +0 -1
- package/esm/operations/accounts.d.ts +0 -147
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -224
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/extensions.d.ts +0 -141
- package/esm/operations/extensions.d.ts.map +0 -1
- package/esm/operations/extensions.js +0 -200
- package/esm/operations/extensions.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -29
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -48
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/projects.d.ts +0 -153
- package/esm/operations/projects.d.ts.map +0 -1
- package/esm/operations/projects.js +0 -244
- package/esm/operations/projects.js.map +0 -1
- package/esm/visualStudioResourceProviderClient.d.ts +0 -21
- package/esm/visualStudioResourceProviderClient.d.ts.map +0 -1
- package/esm/visualStudioResourceProviderClient.js +0 -36
- package/esm/visualStudioResourceProviderClient.js.map +0 -1
- package/esm/visualStudioResourceProviderClientContext.d.ts +0 -16
- package/esm/visualStudioResourceProviderClientContext.d.ts.map +0 -1
- package/esm/visualStudioResourceProviderClientContext.js +0 -56
- package/esm/visualStudioResourceProviderClientContext.js.map +0 -1
- package/lib/models/accountsMappers.ts +0 -25
- package/lib/models/extensionsMappers.ts +0 -22
- package/lib/models/index.ts +0 -701
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -136
- package/lib/models/projectsMappers.ts +0 -21
- package/lib/operations/accounts.ts +0 -399
- package/lib/operations/extensions.ts +0 -361
- package/lib/operations/operations.ts +0 -72
- package/lib/operations/projects.ts +0 -386
- package/lib/visualStudioResourceProviderClient.ts +0 -48
- package/lib/visualStudioResourceProviderClientContext.ts +0 -62
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PollerLike } from '@azure/core-lro';
|
|
4
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
5
|
+
|
|
6
|
+
/** The response to an account resource GET request. */
|
|
7
|
+
export declare type AccountResource = Resource & {
|
|
8
|
+
/** Resource properties. */
|
|
9
|
+
properties?: {
|
|
10
|
+
[propertyName: string]: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** The response to an account resource list GET request. */
|
|
15
|
+
export declare interface AccountResourceListResult {
|
|
16
|
+
/** Array of resource details. */
|
|
17
|
+
value?: AccountResource[];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** The body of a PUT request to modify a Visual Studio account resource. */
|
|
21
|
+
export declare interface AccountResourceRequest {
|
|
22
|
+
/** The account name. */
|
|
23
|
+
accountName?: string;
|
|
24
|
+
/** The Azure instance location. */
|
|
25
|
+
location?: string;
|
|
26
|
+
/** The type of the operation. */
|
|
27
|
+
operationType?: AccountResourceRequestOperationType;
|
|
28
|
+
/** The custom properties of the resource. */
|
|
29
|
+
properties?: {
|
|
30
|
+
[propertyName: string]: string;
|
|
31
|
+
};
|
|
32
|
+
/** The custom tags of the resource. */
|
|
33
|
+
tags?: {
|
|
34
|
+
[propertyName: string]: string;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Defines values for AccountResourceRequestOperationType. */
|
|
39
|
+
export declare type AccountResourceRequestOperationType = "unknown" | "create" | "update" | "link";
|
|
40
|
+
|
|
41
|
+
/** Interface representing a Accounts. */
|
|
42
|
+
export declare interface Accounts {
|
|
43
|
+
/**
|
|
44
|
+
* Checks if the specified Visual Studio Team Services account name is available. Resource name can be
|
|
45
|
+
* either an account name or an account name and PUID.
|
|
46
|
+
* @param body Parameters describing the name to check availability for.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
checkNameAvailability(body: CheckNameAvailabilityParameter, options?: AccountsCheckNameAvailabilityOptionalParams): Promise<AccountsCheckNameAvailabilityResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Gets all Visual Studio Team Services account resources under the resource group linked to the
|
|
52
|
+
* specified Azure subscription.
|
|
53
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): Promise<AccountsListByResourceGroupResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Creates or updates a Visual Studio Team Services account resource.
|
|
59
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
60
|
+
* @param resourceName Name of the resource.
|
|
61
|
+
* @param body The request data.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, body: AccountResourceRequest, options?: AccountsCreateOrUpdateOptionalParams): Promise<AccountsCreateOrUpdateResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Deletes a Visual Studio Team Services account resource.
|
|
67
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
68
|
+
* @param resourceName Name of the resource.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
delete(resourceGroupName: string, resourceName: string, options?: AccountsDeleteOptionalParams): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Gets the Visual Studio Team Services account resource details.
|
|
74
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
75
|
+
* @param resourceName Name of the resource.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
get(resourceGroupName: string, resourceName: string, options?: AccountsGetOptionalParams): Promise<AccountsGetResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Updates tags for Visual Studio Team Services account resource.
|
|
81
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
82
|
+
* @param resourceName Name of the resource.
|
|
83
|
+
* @param body The request data.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
update(resourceGroupName: string, resourceName: string, body: AccountTagRequest, options?: AccountsUpdateOptionalParams): Promise<AccountsUpdateResponse>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** Optional parameters. */
|
|
90
|
+
export declare interface AccountsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/** Contains response data for the checkNameAvailability operation. */
|
|
94
|
+
export declare type AccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
|
|
95
|
+
|
|
96
|
+
/** Optional parameters. */
|
|
97
|
+
export declare interface AccountsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
101
|
+
export declare type AccountsCreateOrUpdateResponse = AccountResource;
|
|
102
|
+
|
|
103
|
+
/** Optional parameters. */
|
|
104
|
+
export declare interface AccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/** Optional parameters. */
|
|
108
|
+
export declare interface AccountsGetOptionalParams extends coreClient.OperationOptions {
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/** Contains response data for the get operation. */
|
|
112
|
+
export declare type AccountsGetResponse = AccountResource;
|
|
113
|
+
|
|
114
|
+
/** Optional parameters. */
|
|
115
|
+
export declare interface AccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
119
|
+
export declare type AccountsListByResourceGroupResponse = AccountResourceListResult;
|
|
120
|
+
|
|
121
|
+
/** Optional parameters. */
|
|
122
|
+
export declare interface AccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** Contains response data for the update operation. */
|
|
126
|
+
export declare type AccountsUpdateResponse = AccountResource;
|
|
127
|
+
|
|
128
|
+
/** The body of a Patch request to add tags to a Visual Studio account resource. */
|
|
129
|
+
export declare interface AccountTagRequest {
|
|
130
|
+
/** The custom tags of the resource. */
|
|
131
|
+
tags?: {
|
|
132
|
+
[propertyName: string]: string;
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/** The body of a POST request to check name availability. */
|
|
137
|
+
export declare interface CheckNameAvailabilityParameter {
|
|
138
|
+
/** The name of the resource to check availability for. */
|
|
139
|
+
resourceName?: string;
|
|
140
|
+
/** The type of resource to check availability for. */
|
|
141
|
+
resourceType?: string;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/** The response to a name availability request. */
|
|
145
|
+
export declare interface CheckNameAvailabilityResult {
|
|
146
|
+
/** The message describing the detailed reason. */
|
|
147
|
+
message?: string;
|
|
148
|
+
/** The value which indicates whether the provided name is available. */
|
|
149
|
+
nameAvailable?: boolean;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/** The response to an extension resource GET request. */
|
|
153
|
+
export declare type ExtensionResource = Resource & {
|
|
154
|
+
/** The extension plan that was purchased. */
|
|
155
|
+
plan?: ExtensionResourcePlan;
|
|
156
|
+
/** Resource properties. */
|
|
157
|
+
properties?: {
|
|
158
|
+
[propertyName: string]: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/** The response to an extension resource list GET request. */
|
|
163
|
+
export declare interface ExtensionResourceListResult {
|
|
164
|
+
/** Array of extension resource details. */
|
|
165
|
+
value?: ExtensionResource[];
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/** Plan data for an extension resource. */
|
|
169
|
+
export declare interface ExtensionResourcePlan {
|
|
170
|
+
/** Name of the plan. */
|
|
171
|
+
name?: string;
|
|
172
|
+
/** Product name. */
|
|
173
|
+
product?: string;
|
|
174
|
+
/** Optional: the promotion code associated with the plan. */
|
|
175
|
+
promotionCode?: string;
|
|
176
|
+
/** Name of the extension publisher. */
|
|
177
|
+
publisher?: string;
|
|
178
|
+
/** A string that uniquely identifies the plan version. */
|
|
179
|
+
version?: string;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/** The body of an extension resource PUT request. */
|
|
183
|
+
export declare interface ExtensionResourceRequest {
|
|
184
|
+
/** The Azure region of the Visual Studio account associated with this request (i.e 'southcentralus'.) */
|
|
185
|
+
location?: string;
|
|
186
|
+
/** Extended information about the plan being purchased for this extension resource. */
|
|
187
|
+
plan?: ExtensionResourcePlan;
|
|
188
|
+
/** A dictionary of extended properties. This property is currently unused. */
|
|
189
|
+
properties?: {
|
|
190
|
+
[propertyName: string]: string;
|
|
191
|
+
};
|
|
192
|
+
/** A dictionary of user-defined tags to be stored with the extension resource. */
|
|
193
|
+
tags?: {
|
|
194
|
+
[propertyName: string]: string;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** Interface representing a Extensions. */
|
|
199
|
+
export declare interface Extensions {
|
|
200
|
+
/**
|
|
201
|
+
* Gets the details of the extension resources created within the resource group.
|
|
202
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
203
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
204
|
+
* @param options The options parameters.
|
|
205
|
+
*/
|
|
206
|
+
listByAccount(resourceGroupName: string, accountResourceName: string, options?: ExtensionsListByAccountOptionalParams): Promise<ExtensionsListByAccountResponse>;
|
|
207
|
+
/**
|
|
208
|
+
* Registers the extension with a Visual Studio Team Services account.
|
|
209
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
210
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
211
|
+
* @param extensionResourceName The name of the extension.
|
|
212
|
+
* @param body An object containing additional information related to the extension request.
|
|
213
|
+
* @param options The options parameters.
|
|
214
|
+
*/
|
|
215
|
+
create(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, body: ExtensionResourceRequest, options?: ExtensionsCreateOptionalParams): Promise<ExtensionsCreateResponse>;
|
|
216
|
+
/**
|
|
217
|
+
* Removes an extension resource registration for a Visual Studio Team Services account.
|
|
218
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
219
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
220
|
+
* @param extensionResourceName The name of the extension.
|
|
221
|
+
* @param options The options parameters.
|
|
222
|
+
*/
|
|
223
|
+
delete(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: ExtensionsDeleteOptionalParams): Promise<void>;
|
|
224
|
+
/**
|
|
225
|
+
* Gets the details of an extension associated with a Visual Studio Team Services account resource.
|
|
226
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
227
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
228
|
+
* @param extensionResourceName The name of the extension.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: ExtensionsGetOptionalParams): Promise<ExtensionsGetResponse>;
|
|
232
|
+
/**
|
|
233
|
+
* Updates an existing extension registration for the Visual Studio Team Services account.
|
|
234
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
235
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
236
|
+
* @param extensionResourceName The name of the extension.
|
|
237
|
+
* @param body An object containing additional information related to the extension request.
|
|
238
|
+
* @param options The options parameters.
|
|
239
|
+
*/
|
|
240
|
+
update(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, body: ExtensionResourceRequest, options?: ExtensionsUpdateOptionalParams): Promise<ExtensionsUpdateResponse>;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/** Optional parameters. */
|
|
244
|
+
export declare interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/** Contains response data for the create operation. */
|
|
248
|
+
export declare type ExtensionsCreateResponse = ExtensionResource;
|
|
249
|
+
|
|
250
|
+
/** Optional parameters. */
|
|
251
|
+
export declare interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/** Optional parameters. */
|
|
255
|
+
export declare interface ExtensionsGetOptionalParams extends coreClient.OperationOptions {
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/** Contains response data for the get operation. */
|
|
259
|
+
export declare type ExtensionsGetResponse = ExtensionResource;
|
|
260
|
+
|
|
261
|
+
/** Optional parameters. */
|
|
262
|
+
export declare interface ExtensionsListByAccountOptionalParams extends coreClient.OperationOptions {
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/** Contains response data for the listByAccount operation. */
|
|
266
|
+
export declare type ExtensionsListByAccountResponse = ExtensionResourceListResult;
|
|
267
|
+
|
|
268
|
+
/** Optional parameters. */
|
|
269
|
+
export declare interface ExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/** Contains response data for the update operation. */
|
|
273
|
+
export declare type ExtensionsUpdateResponse = ExtensionResource;
|
|
274
|
+
|
|
275
|
+
/** Properties of an operation supported by the resource provider. */
|
|
276
|
+
export declare interface Operation {
|
|
277
|
+
/** The properties of the resource operation. */
|
|
278
|
+
display?: OperationProperties;
|
|
279
|
+
/** The name of the resource operation. */
|
|
280
|
+
name?: string;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/** Container for a list of operations supported by a resource provider. */
|
|
284
|
+
export declare interface OperationListResult {
|
|
285
|
+
/** A list of operations supported by a resource provider. */
|
|
286
|
+
value?: Operation[];
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/** Properties of an operation supported by the resource provider. */
|
|
290
|
+
export declare interface OperationProperties {
|
|
291
|
+
/** The description of the resource operation. */
|
|
292
|
+
description?: string;
|
|
293
|
+
/** The operation name. */
|
|
294
|
+
operation?: string;
|
|
295
|
+
/** The provider name. */
|
|
296
|
+
provider?: string;
|
|
297
|
+
/** The resource name. */
|
|
298
|
+
resource?: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/** Interface representing a Operations. */
|
|
302
|
+
export declare interface Operations {
|
|
303
|
+
/**
|
|
304
|
+
* Gets the details of all operations possible on the Microsoft.VisualStudio resource provider.
|
|
305
|
+
* @param options The options parameters.
|
|
306
|
+
*/
|
|
307
|
+
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/** Optional parameters. */
|
|
311
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/** Contains response data for the list operation. */
|
|
315
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
316
|
+
|
|
317
|
+
/** A Visual Studio Team Services project resource. */
|
|
318
|
+
export declare type ProjectResource = Resource & {
|
|
319
|
+
/** Key/value pair of resource properties. */
|
|
320
|
+
properties?: {
|
|
321
|
+
[propertyName: string]: string;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
/** The response to a request to list Team Services project resources in a resource group/account. */
|
|
326
|
+
export declare interface ProjectResourceListResult {
|
|
327
|
+
/** List of project resource details. */
|
|
328
|
+
value?: ProjectResource[];
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/** Interface representing a Projects. */
|
|
332
|
+
export declare interface Projects {
|
|
333
|
+
/**
|
|
334
|
+
* Gets all Visual Studio Team Services project resources created in the specified Team Services
|
|
335
|
+
* account.
|
|
336
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
337
|
+
* @param rootResourceName Name of the Team Services account.
|
|
338
|
+
* @param options The options parameters.
|
|
339
|
+
*/
|
|
340
|
+
listByResourceGroup(resourceGroupName: string, rootResourceName: string, options?: ProjectsListByResourceGroupOptionalParams): Promise<ProjectsListByResourceGroupResponse>;
|
|
341
|
+
/**
|
|
342
|
+
* Creates a Team Services project in the collection with the specified name. 'VersionControlOption'
|
|
343
|
+
* and 'ProcessTemplateId' must be specified in the resource properties. Valid values for
|
|
344
|
+
* VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId:
|
|
345
|
+
* 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC,
|
|
346
|
+
* 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process
|
|
347
|
+
* templates).
|
|
348
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
349
|
+
* @param rootResourceName Name of the Team Services account.
|
|
350
|
+
* @param resourceName Name of the Team Services project.
|
|
351
|
+
* @param body The request data.
|
|
352
|
+
* @param options The options parameters.
|
|
353
|
+
*/
|
|
354
|
+
beginCreate(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsCreateOptionalParams): Promise<PollerLike<PollOperationState<ProjectsCreateResponse>, ProjectsCreateResponse>>;
|
|
355
|
+
/**
|
|
356
|
+
* Creates a Team Services project in the collection with the specified name. 'VersionControlOption'
|
|
357
|
+
* and 'ProcessTemplateId' must be specified in the resource properties. Valid values for
|
|
358
|
+
* VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId:
|
|
359
|
+
* 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC,
|
|
360
|
+
* 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process
|
|
361
|
+
* templates).
|
|
362
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
363
|
+
* @param rootResourceName Name of the Team Services account.
|
|
364
|
+
* @param resourceName Name of the Team Services project.
|
|
365
|
+
* @param body The request data.
|
|
366
|
+
* @param options The options parameters.
|
|
367
|
+
*/
|
|
368
|
+
beginCreateAndWait(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsCreateOptionalParams): Promise<ProjectsCreateResponse>;
|
|
369
|
+
/**
|
|
370
|
+
* Gets the details of a Team Services project resource.
|
|
371
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
372
|
+
* @param rootResourceName Name of the Team Services account.
|
|
373
|
+
* @param resourceName Name of the Team Services project.
|
|
374
|
+
* @param options The options parameters.
|
|
375
|
+
*/
|
|
376
|
+
get(resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsGetOptionalParams): Promise<ProjectsGetResponse>;
|
|
377
|
+
/**
|
|
378
|
+
* Updates the tags of the specified Team Services project.
|
|
379
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
380
|
+
* @param rootResourceName Name of the Team Services account.
|
|
381
|
+
* @param resourceName Name of the Team Services project.
|
|
382
|
+
* @param body The request data.
|
|
383
|
+
* @param options The options parameters.
|
|
384
|
+
*/
|
|
385
|
+
update(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsUpdateOptionalParams): Promise<ProjectsUpdateResponse>;
|
|
386
|
+
/**
|
|
387
|
+
* Gets the status of the project resource creation job.
|
|
388
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
389
|
+
* @param rootResourceName Name of the Team Services account.
|
|
390
|
+
* @param resourceName Name of the Team Services project.
|
|
391
|
+
* @param subContainerName This parameter should be set to the resourceName.
|
|
392
|
+
* @param operation The operation type. The only supported value is 'put'.
|
|
393
|
+
* @param options The options parameters.
|
|
394
|
+
*/
|
|
395
|
+
getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options?: ProjectsGetJobStatusOptionalParams): Promise<ProjectsGetJobStatusResponse>;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/** Optional parameters. */
|
|
399
|
+
export declare interface ProjectsCreateOptionalParams extends coreClient.OperationOptions {
|
|
400
|
+
/** This parameter is ignored and should be set to an empty string. */
|
|
401
|
+
validating?: string;
|
|
402
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
403
|
+
updateIntervalInMs?: number;
|
|
404
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
405
|
+
resumeFrom?: string;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/** Contains response data for the create operation. */
|
|
409
|
+
export declare type ProjectsCreateResponse = ProjectResource;
|
|
410
|
+
|
|
411
|
+
/** Optional parameters. */
|
|
412
|
+
export declare interface ProjectsGetJobStatusOptionalParams extends coreClient.OperationOptions {
|
|
413
|
+
/** The job identifier. */
|
|
414
|
+
jobId?: string;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/** Contains response data for the getJobStatus operation. */
|
|
418
|
+
export declare type ProjectsGetJobStatusResponse = ProjectResource;
|
|
419
|
+
|
|
420
|
+
/** Optional parameters. */
|
|
421
|
+
export declare interface ProjectsGetOptionalParams extends coreClient.OperationOptions {
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/** Contains response data for the get operation. */
|
|
425
|
+
export declare type ProjectsGetResponse = ProjectResource;
|
|
426
|
+
|
|
427
|
+
/** Optional parameters. */
|
|
428
|
+
export declare interface ProjectsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
432
|
+
export declare type ProjectsListByResourceGroupResponse = ProjectResourceListResult;
|
|
433
|
+
|
|
434
|
+
/** Optional parameters. */
|
|
435
|
+
export declare interface ProjectsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/** Contains response data for the update operation. */
|
|
439
|
+
export declare type ProjectsUpdateResponse = ProjectResource;
|
|
440
|
+
|
|
441
|
+
/** A generic Azure Resource Manager resource. */
|
|
442
|
+
export declare interface Resource {
|
|
443
|
+
/**
|
|
444
|
+
* Unique identifier of the resource.
|
|
445
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
446
|
+
*/
|
|
447
|
+
readonly id?: string;
|
|
448
|
+
/** Resource location. */
|
|
449
|
+
location?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Resource name.
|
|
452
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
453
|
+
*/
|
|
454
|
+
readonly name?: string;
|
|
455
|
+
/** Resource tags. */
|
|
456
|
+
tags?: {
|
|
457
|
+
[propertyName: string]: string;
|
|
458
|
+
};
|
|
459
|
+
/**
|
|
460
|
+
* Resource type.
|
|
461
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
462
|
+
*/
|
|
463
|
+
readonly type?: string;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export declare class VisualStudioResourceProviderClient extends coreClient.ServiceClient {
|
|
467
|
+
$host: string;
|
|
468
|
+
subscriptionId: string;
|
|
469
|
+
apiVersion: string;
|
|
470
|
+
/**
|
|
471
|
+
* Initializes a new instance of the VisualStudioResourceProviderClient class.
|
|
472
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
473
|
+
* @param subscriptionId The Azure subscription identifier.
|
|
474
|
+
* @param options The parameter options
|
|
475
|
+
*/
|
|
476
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: VisualStudioResourceProviderClientOptionalParams);
|
|
477
|
+
operations: Operations;
|
|
478
|
+
accounts: Accounts;
|
|
479
|
+
extensions: Extensions;
|
|
480
|
+
projects: Projects;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/** Optional parameters. */
|
|
484
|
+
export declare interface VisualStudioResourceProviderClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
485
|
+
/** server parameter */
|
|
486
|
+
$host?: string;
|
|
487
|
+
/** Api Version */
|
|
488
|
+
apiVersion?: string;
|
|
489
|
+
/** Overrides client endpoint. */
|
|
490
|
+
endpoint?: string;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.19.4"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|