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 @azure/arm-containerservice] add resourceuid field to managed cluster properties #6407

Closed
wants to merge 1 commit into from
Closed
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
44 changes: 44 additions & 0 deletions sdk/containerservice/arm-containerservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Release History

## 19.4.0 (2023-08-24)

**Features**

- Added operation ManagedClusters.getMeshRevisionProfile
- Added operation ManagedClusters.getMeshUpgradeProfile
- Added operation ManagedClusters.listMeshRevisionProfiles
- Added operation ManagedClusters.listMeshUpgradeProfiles
- Added Interface CompatibleVersions
- Added Interface IstioCertificateAuthority
- Added Interface IstioComponents
- Added Interface IstioEgressGateway
- Added Interface IstioIngressGateway
- Added Interface IstioPluginCertificateAuthority
- Added Interface IstioServiceMesh
- Added Interface ManagedClustersGetMeshRevisionProfileOptionalParams
- Added Interface ManagedClustersGetMeshUpgradeProfileOptionalParams
- Added Interface ManagedClustersListMeshRevisionProfilesNextOptionalParams
- Added Interface ManagedClustersListMeshRevisionProfilesOptionalParams
- Added Interface ManagedClustersListMeshUpgradeProfilesNextOptionalParams
- Added Interface ManagedClustersListMeshUpgradeProfilesOptionalParams
- Added Interface MeshRevision
- Added Interface MeshRevisionProfile
- Added Interface MeshRevisionProfileList
- Added Interface MeshRevisionProfileProperties
- Added Interface MeshUpgradeProfile
- Added Interface MeshUpgradeProfileList
- Added Interface MeshUpgradeProfileProperties
- Added Interface ProxyResource
- Added Interface ServiceMeshProfile
- Added Type Alias IstioIngressGatewayMode
- Added Type Alias ManagedClustersGetMeshRevisionProfileResponse
- Added Type Alias ManagedClustersGetMeshUpgradeProfileResponse
- Added Type Alias ManagedClustersListMeshRevisionProfilesNextResponse
- Added Type Alias ManagedClustersListMeshRevisionProfilesResponse
- Added Type Alias ManagedClustersListMeshUpgradeProfilesNextResponse
- Added Type Alias ManagedClustersListMeshUpgradeProfilesResponse
- Added Type Alias ServiceMeshMode
- Interface ManagedCluster has a new optional parameter resourceUID
- Interface ManagedCluster has a new optional parameter serviceMeshProfile
- Added Enum KnownIstioIngressGatewayMode
- Added Enum KnownServiceMeshMode


## 19.3.0 (2023-08-21)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/containerservice/arm-containerservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "5bcbf0ec9a42be239bf89f3f8c4586dc2dc68d0c",
"commit": "67c761abc8a233ef7de14be0d7da8404e34dd005",
"readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\Microsoft.ContainerService\\aks\\readme.md --use=@autorest/typescript@6.0.8 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md --use=@autorest/typescript@^6.0.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/typescript@6.0.8"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.2",
"use": "@autorest/typescript@^6.0.4"
}
14 changes: 3 additions & 11 deletions sdk/containerservice/arm-containerservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ContainerServiceClient.",
"version": "19.3.0",
"version": "19.4.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -112,13 +112,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice"
}
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,12 @@ export interface ClusterUpgradeSettings {
// @public
export type Code = string;

// @public
export interface CompatibleVersions {
name?: string;
versions?: string[];
}

// @public
export type ConnectionStatus = string;

Expand Down Expand Up @@ -392,6 +398,50 @@ export type GPUInstanceProfile = string;
// @public
export type IpFamily = string;

// @public
export interface IstioCertificateAuthority {
plugin?: IstioPluginCertificateAuthority;
}

// @public
export interface IstioComponents {
egressGateways?: IstioEgressGateway[];
ingressGateways?: IstioIngressGateway[];
}

// @public
export interface IstioEgressGateway {
enabled: boolean;
nodeSelector?: {
[propertyName: string]: string;
};
}

// @public
export interface IstioIngressGateway {
enabled: boolean;
mode: IstioIngressGatewayMode;
}

// @public
export type IstioIngressGatewayMode = string;

// @public
export interface IstioPluginCertificateAuthority {
certChainObjectName?: string;
certObjectName?: string;
keyObjectName?: string;
keyVaultId?: string;
rootCertObjectName?: string;
}

// @public
export interface IstioServiceMesh {
certificateAuthority?: IstioCertificateAuthority;
components?: IstioComponents;
revisions?: string[];
}

// @public
export type KeyVaultNetworkAccessTypes = string;

Expand Down Expand Up @@ -463,6 +513,12 @@ export enum KnownIpFamily {
IPv6 = "IPv6"
}

// @public
export enum KnownIstioIngressGatewayMode {
External = "External",
Internal = "Internal"
}

// @public
export enum KnownKeyVaultNetworkAccessTypes {
Private = "Private",
Expand Down Expand Up @@ -615,6 +671,12 @@ export enum KnownScaleSetPriority {
Spot = "Spot"
}

// @public
export enum KnownServiceMeshMode {
Disabled = "Disabled",
Istio = "Istio"
}

// @public
export enum KnownSnapshotType {
NodePool = "NodePool"
Expand Down Expand Up @@ -818,7 +880,9 @@ export interface ManagedCluster extends TrackedResource {
privateLinkResources?: PrivateLinkResource[];
readonly provisioningState?: string;
publicNetworkAccess?: PublicNetworkAccess;
readonly resourceUID?: string;
securityProfile?: ManagedClusterSecurityProfile;
serviceMeshProfile?: ServiceMeshProfile;
servicePrincipalProfile?: ManagedClusterServicePrincipalProfile;
sku?: ManagedClusterSKU;
storageProfile?: ManagedClusterStorageProfile;
Expand Down Expand Up @@ -1125,6 +1189,8 @@ export interface ManagedClusters {
get(resourceGroupName: string, resourceName: string, options?: ManagedClustersGetOptionalParams): Promise<ManagedClustersGetResponse>;
getAccessProfile(resourceGroupName: string, resourceName: string, roleName: string, options?: ManagedClustersGetAccessProfileOptionalParams): Promise<ManagedClustersGetAccessProfileResponse>;
getCommandResult(resourceGroupName: string, resourceName: string, commandId: string, options?: ManagedClustersGetCommandResultOptionalParams): Promise<ManagedClustersGetCommandResultResponse>;
getMeshRevisionProfile(location: string, mode: string, options?: ManagedClustersGetMeshRevisionProfileOptionalParams): Promise<ManagedClustersGetMeshRevisionProfileResponse>;
getMeshUpgradeProfile(resourceGroupName: string, resourceName: string, mode: string, options?: ManagedClustersGetMeshUpgradeProfileOptionalParams): Promise<ManagedClustersGetMeshUpgradeProfileResponse>;
getOSOptions(location: string, options?: ManagedClustersGetOSOptionsOptionalParams): Promise<ManagedClustersGetOSOptionsResponse>;
getUpgradeProfile(resourceGroupName: string, resourceName: string, options?: ManagedClustersGetUpgradeProfileOptionalParams): Promise<ManagedClustersGetUpgradeProfileResponse>;
list(options?: ManagedClustersListOptionalParams): PagedAsyncIterableIterator<ManagedCluster>;
Expand All @@ -1133,6 +1199,8 @@ export interface ManagedClusters {
listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterMonitoringUserCredentialsOptionalParams): Promise<ManagedClustersListClusterMonitoringUserCredentialsResponse>;
listClusterUserCredentials(resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterUserCredentialsOptionalParams): Promise<ManagedClustersListClusterUserCredentialsResponse>;
listKubernetesVersions(location: string, options?: ManagedClustersListKubernetesVersionsOptionalParams): Promise<ManagedClustersListKubernetesVersionsResponse>;
listMeshRevisionProfiles(location: string, options?: ManagedClustersListMeshRevisionProfilesOptionalParams): PagedAsyncIterableIterator<MeshRevisionProfile>;
listMeshUpgradeProfiles(resourceGroupName: string, resourceName: string, options?: ManagedClustersListMeshUpgradeProfilesOptionalParams): PagedAsyncIterableIterator<MeshUpgradeProfile>;
listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, resourceName: string, options?: ManagedClustersListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
}

Expand Down Expand Up @@ -1229,6 +1297,20 @@ export interface ManagedClustersGetCommandResultOptionalParams extends coreClien
// @public
export type ManagedClustersGetCommandResultResponse = RunCommandResult;

// @public
export interface ManagedClustersGetMeshRevisionProfileOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ManagedClustersGetMeshRevisionProfileResponse = MeshRevisionProfile;

// @public
export interface ManagedClustersGetMeshUpgradeProfileOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ManagedClustersGetMeshUpgradeProfileResponse = MeshUpgradeProfile;

// @public
export interface ManagedClustersGetOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -1309,6 +1391,34 @@ export interface ManagedClustersListKubernetesVersionsOptionalParams extends cor
// @public
export type ManagedClustersListKubernetesVersionsResponse = KubernetesVersionListResult;

// @public
export interface ManagedClustersListMeshRevisionProfilesNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ManagedClustersListMeshRevisionProfilesNextResponse = MeshRevisionProfileList;

// @public
export interface ManagedClustersListMeshRevisionProfilesOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ManagedClustersListMeshRevisionProfilesResponse = MeshRevisionProfileList;

// @public
export interface ManagedClustersListMeshUpgradeProfilesNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ManagedClustersListMeshUpgradeProfilesNextResponse = MeshUpgradeProfileList;

// @public
export interface ManagedClustersListMeshUpgradeProfilesOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ManagedClustersListMeshUpgradeProfilesResponse = MeshUpgradeProfileList;

// @public
export interface ManagedClustersListNextOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -1507,6 +1617,45 @@ export interface ManagedServiceIdentityUserAssignedIdentitiesValue {
readonly principalId?: string;
}

// @public
export interface MeshRevision {
compatibleWith?: CompatibleVersions[];
revision?: string;
upgrades?: string[];
}

// @public
export interface MeshRevisionProfile extends ProxyResource {
properties?: MeshRevisionProfileProperties;
}

// @public
export interface MeshRevisionProfileList {
readonly nextLink?: string;
value?: MeshRevisionProfile[];
}

// @public
export interface MeshRevisionProfileProperties {
// (undocumented)
meshRevisions?: MeshRevision[];
}

// @public
export interface MeshUpgradeProfile extends ProxyResource {
properties?: MeshUpgradeProfileProperties;
}

// @public
export interface MeshUpgradeProfileList {
readonly nextLink?: string;
value?: MeshUpgradeProfile[];
}

// @public
export interface MeshUpgradeProfileProperties extends MeshRevision {
}

// @public
export type NetworkDataplane = string;

Expand Down Expand Up @@ -1687,6 +1836,10 @@ export interface PrivateLinkServiceConnectionState {
status?: ConnectionStatus;
}

// @public
export interface ProxyResource extends Resource {
}

// @public
export type PublicNetworkAccess = string;

Expand Down Expand Up @@ -1760,6 +1913,15 @@ export interface Schedule {
weekly?: WeeklySchedule;
}

// @public
export type ServiceMeshMode = string;

// @public
export interface ServiceMeshProfile {
istio?: IstioServiceMesh;
mode: ServiceMeshMode;
}

// @public
export interface Snapshot extends TrackedResource {
creationData?: CreationData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-containerservice/19.3.0`;
const packageDetails = `azsdk-js-arm-containerservice/19.4.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -121,7 +121,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2023-07-01";
this.apiVersion = options.apiVersion || "2023-08-01";
this.operations = new OperationsImpl(this);
this.managedClusters = new ManagedClustersImpl(this);
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
Expand Down
Loading