Skip to content

Commit

Permalink
CodeGen from PR 16959 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 3ef8da10e231f73806839446d0f093639a9a63ce into edfc57f74a82b74ad08ef82c705d8b2c0751b359
  • Loading branch information
SDKAuto committed Dec 7, 2021
1 parent b024887 commit 1200437
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/containerinstance/arm-containerinstance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/containerinstance/arm-containerinstance",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerinstance/arm-containerinstance",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class ContainerInstanceManagementClientContext extends msRestAzure.AzureS

super(credentials, options);

this.apiVersion = '2021-09-01';
this.apiVersion = '2021-10-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
14 changes: 14 additions & 0 deletions sdk/containerinstance/arm-containerinstance/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,11 @@ export interface IpAddress {
* The Dns name label for the IP.
*/
dnsNameLabel?: string;
/**
* The value representing the security enum. Possible values include: 'Unsecure', 'TenantReuse',
* 'SubscriptionReuse', 'ResourceGroupReuse', 'Noreuse'
*/
dnsNameLabelReusePolicy?: DnsNameLabelReusePolicy;
/**
* The FQDN for the IP.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -1153,6 +1158,15 @@ export type ContainerGroupNetworkProtocol = 'TCP' | 'UDP';
*/
export type ContainerGroupIpAddressType = 'Public' | 'Private';

/**
* Defines values for DnsNameLabelReusePolicy.
* Possible values include: 'Unsecure', 'TenantReuse', 'SubscriptionReuse', 'ResourceGroupReuse',
* 'Noreuse'
* @readonly
* @enum {string}
*/
export type DnsNameLabelReusePolicy = 'Unsecure' | 'TenantReuse' | 'SubscriptionReuse' | 'ResourceGroupReuse' | 'Noreuse';

/**
* Defines values for OperatingSystemTypes.
* Possible values include: 'Windows', 'Linux'
Expand Down
13 changes: 13 additions & 0 deletions sdk/containerinstance/arm-containerinstance/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,19 @@ export const IpAddress: msRest.CompositeMapper = {
name: "String"
}
},
dnsNameLabelReusePolicy: {
serializedName: "dnsNameLabelReusePolicy",
type: {
name: "Enum",
allowedValues: [
"Unsecure",
"TenantReuse",
"SubscriptionReuse",
"ResourceGroupReuse",
"Noreuse"
]
}
},
fqdn: {
readOnly: true,
serializedName: "fqdn",
Expand Down

0 comments on commit 1200437

Please sign in to comment.