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 read only field 2022-03-02-preview/ 04-02-preview / 05-02-preview #607

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
43 changes: 40 additions & 3 deletions sdk/containerservice/arm-containerservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Release History

## 16.1.0-beta.1 (2022-05-06)
## 16.1.0-beta.2 (2022-05-18)

**Features**

- Added operation group ManagedClusterSnapshots
- Added operation group TrustedAccessRoleBindings
- Added operation group TrustedAccessRoles
- Added operation ManagedClusters.beginRotateServiceAccountSigningKeys
- Added operation ManagedClusters.beginRotateServiceAccountSigningKeysAndWait
- Added Interface AzureKeyVaultKms
Expand All @@ -23,7 +25,19 @@
- Added Interface ManagedClusterSnapshotsListOptionalParams
- Added Interface ManagedClusterSnapshotsUpdateTagsOptionalParams
- Added Interface ManagedClustersRotateServiceAccountSigningKeysOptionalParams
- Added Interface ManagedClusterStorageProfileBlobCSIDriver
- Added Interface NetworkProfileForSnapshot
- Added Interface TrustedAccessRole
- Added Interface TrustedAccessRoleBindingListResult
- Added Interface TrustedAccessRoleBindingsCreateOrUpdateOptionalParams
- Added Interface TrustedAccessRoleBindingsDeleteOptionalParams
- Added Interface TrustedAccessRoleBindingsGetOptionalParams
- Added Interface TrustedAccessRoleBindingsListNextOptionalParams
- Added Interface TrustedAccessRoleBindingsListOptionalParams
- Added Interface TrustedAccessRoleListResult
- Added Interface TrustedAccessRoleRule
- Added Interface TrustedAccessRolesListNextOptionalParams
- Added Interface TrustedAccessRolesListOptionalParams
- Added Type Alias ManagedClusterSnapshot
- Added Type Alias ManagedClusterSnapshotsCreateOrUpdateResponse
- Added Type Alias ManagedClusterSnapshotsGetResponse
Expand All @@ -32,28 +46,51 @@
- Added Type Alias ManagedClusterSnapshotsListNextResponse
- Added Type Alias ManagedClusterSnapshotsListResponse
- Added Type Alias ManagedClusterSnapshotsUpdateTagsResponse
- Added Type Alias NetworkPluginMode
- Added Type Alias TrustedAccessRoleBinding
- Added Type Alias TrustedAccessRoleBindingProvisioningState
- Added Type Alias TrustedAccessRoleBindingsCreateOrUpdateResponse
- Added Type Alias TrustedAccessRoleBindingsGetResponse
- Added Type Alias TrustedAccessRoleBindingsListNextResponse
- Added Type Alias TrustedAccessRoleBindingsListResponse
- Added Type Alias TrustedAccessRolesListNextResponse
- Added Type Alias TrustedAccessRolesListResponse
- Interface AgentPoolsDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
- Interface ContainerServiceNetworkProfile has a new optional parameter networkPluginMode
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter capacityReservationGroupID
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter currentOrchestratorVersion
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter enableCustomCATrust
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter hostGroupID
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter messageOfTheDay
- Interface ManagedClusterAPIServerAccessProfile has a new optional parameter enableVnetIntegration
- Interface ManagedClusterAPIServerAccessProfile has a new optional parameter subnetId
- Interface ManagedClusterHttpProxyConfig has a new optional parameter effectiveNoProxy
- Interface ManagedClustersDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
- Interface ManagedClusterSecurityProfile has a new optional parameter azureKeyVaultKms
- Interface ManagedClusterSecurityProfile has a new optional parameter workloadIdentity
- Interface ManagedClusterStorageProfile has a new optional parameter blobCSIDriver
- Interface ManagedClusterStorageProfileDiskCSIDriver has a new optional parameter version
- Class ContainerServiceClient has a new parameter managedClusterSnapshots
- Class ContainerServiceClient has a new parameter trustedAccessRoleBindings
- Class ContainerServiceClient has a new parameter trustedAccessRoles
- Type Alias AgentPool has a new parameter messageOfTheDay
- Type Alias AgentPool has a new parameter currentOrchestratorVersion
- Type Alias AgentPool has a new parameter enableCustomCATrust
- Type Alias AgentPool has a new parameter capacityReservationGroupID
- Type Alias AgentPool has a new parameter hostGroupID
- Type Alias ManagedCluster has a new parameter creationData
- Type Alias ManagedCluster has a new parameter currentKubernetesVersion
- Type Alias ManagedCluster has a new parameter oidcIssuerProfile
- Type Alias ManagedCluster has a new parameter enableNamespaceResources
- Type Alias ManagedCluster has a new parameter storageProfile
- Type Alias ManagedCluster has a new parameter ingressProfile
- Added Enum KnownNetworkPluginMode
- Added Enum KnownTrustedAccessRoleBindingProvisioningState
- Enum KnownNetworkPlugin has a new value None
- Enum KnownSnapshotType has a new value ManagedCluster
- Enum KnownOssku has a new value Windows2019
- Enum KnownOssku has a new value Windows2022
- Enum KnownSnapshotType has a new value ManagedCluster


## 16.0.0 (2022-04-20)

Expand Down
6 changes: 3 additions & 3 deletions sdk/containerservice/arm-containerservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "63ecc4782618d9f20f3b1d9d0b5153d4cf4e45be",
"commit": "6ad8e5f5f6c1d6934e41b8c9e4ad5e30ae482dcd",
"readme": "specification/containerservice/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\readme.md --use=@autorest/[email protected].20220408.1 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --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/readme.md --use=@autorest/[email protected].20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected].20220408.1"
"use": "@autorest/[email protected].20220425.1"
}
22 changes: 8 additions & 14 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": "16.1.0-beta.1",
"version": "16.1.0-beta.2",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -40,9 +40,11 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice",
"repository": {
Expand Down Expand Up @@ -93,7 +95,7 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -106,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview"
}
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ export type AgentPool = SubResource & {
typePropertiesType?: AgentPoolType;
mode?: AgentPoolMode;
orchestratorVersion?: string;
currentOrchestratorVersion?: string;
readonly currentOrchestratorVersion?: string;
readonly nodeImageVersion?: string;
upgradeSettings?: AgentPoolUpgradeSettings;
readonly provisioningState?: string;
powerState?: PowerState;
availabilityZones?: string[];
enableNodePublicIP?: boolean;
enableCustomCATrust?: boolean;
nodePublicIPPrefixID?: string;
scaleSetPriority?: ScaleSetPriority;
scaleSetEvictionPolicy?: ScaleSetEvictionPolicy;
Expand Down Expand Up @@ -238,6 +239,10 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
snapshots: Snapshots;
// (undocumented)
subscriptionId: string;
// (undocumented)
trustedAccessRoleBindings: TrustedAccessRoleBindings;
// (undocumented)
trustedAccessRoles: TrustedAccessRoles;
}

// @public
Expand Down Expand Up @@ -280,6 +285,7 @@ export interface ContainerServiceNetworkProfile {
natGatewayProfile?: ManagedClusterNATGatewayProfile;
networkMode?: NetworkMode;
networkPlugin?: NetworkPlugin;
networkPluginMode?: NetworkPluginMode;
networkPolicy?: NetworkPolicy;
outboundType?: OutboundType;
podCidr?: string;
Expand Down Expand Up @@ -866,6 +872,11 @@ export enum KnownNetworkPlugin {
None = "none"
}

// @public
export enum KnownNetworkPluginMode {
Overlay = "Overlay"
}

// @public
export enum KnownNetworkPolicy {
Azure = "azure",
Expand All @@ -883,7 +894,11 @@ export enum KnownOssku {
// (undocumented)
CBLMariner = "CBLMariner",
// (undocumented)
Ubuntu = "Ubuntu"
Ubuntu = "Ubuntu",
// (undocumented)
Windows2019 = "Windows2019",
// (undocumented)
Windows2022 = "Windows2022"
}

// @public
Expand Down Expand Up @@ -944,6 +959,18 @@ export enum KnownSnapshotType {
NodePool = "NodePool"
}

// @public
export enum KnownTrustedAccessRoleBindingProvisioningState {
// (undocumented)
Deleting = "Deleting",
// (undocumented)
Failed = "Failed",
// (undocumented)
Succeeded = "Succeeded",
// (undocumented)
Updating = "Updating"
}

// @public
export enum KnownUpgradeChannel {
NodeImage = "node-image",
Expand Down Expand Up @@ -1104,6 +1131,7 @@ export type ManagedCluster = TrackedResource & {
disableLocalAccounts?: boolean;
httpProxyConfig?: ManagedClusterHttpProxyConfig;
securityProfile?: ManagedClusterSecurityProfile;
storageProfile?: ManagedClusterStorageProfile;
ingressProfile?: ManagedClusterIngressProfile;
publicNetworkAccess?: PublicNetworkAccess;
};
Expand Down Expand Up @@ -1147,8 +1175,9 @@ export interface ManagedClusterAgentPoolProfileProperties {
capacityReservationGroupID?: string;
count?: number;
creationData?: CreationData;
currentOrchestratorVersion?: string;
readonly currentOrchestratorVersion?: string;
enableAutoScaling?: boolean;
enableCustomCATrust?: boolean;
enableEncryptionAtHost?: boolean;
enableFips?: boolean;
enableNodePublicIP?: boolean;
Expand Down Expand Up @@ -1198,7 +1227,9 @@ export interface ManagedClusterAPIServerAccessProfile {
disableRunCommand?: boolean;
enablePrivateCluster?: boolean;
enablePrivateClusterPublicFqdn?: boolean;
enableVnetIntegration?: boolean;
privateDNSZone?: string;
subnetId?: string;
}

// @public
Expand Down Expand Up @@ -1691,11 +1722,17 @@ export interface ManagedClustersStopOptionalParams extends coreClient.OperationO

// @public
export interface ManagedClusterStorageProfile {
blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriver;
diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriver;
fileCSIDriver?: ManagedClusterStorageProfileFileCSIDriver;
snapshotController?: ManagedClusterStorageProfileSnapshotController;
}

// @public
export interface ManagedClusterStorageProfileBlobCSIDriver {
enabled?: boolean;
}

// @public
export interface ManagedClusterStorageProfileDiskCSIDriver {
enabled?: boolean;
Expand Down Expand Up @@ -1751,6 +1788,9 @@ export type NetworkMode = string;
// @public
export type NetworkPlugin = string;

// @public
export type NetworkPluginMode = string;

// @public
export type NetworkPolicy = string;

Expand All @@ -1759,6 +1799,7 @@ export interface NetworkProfileForSnapshot {
loadBalancerSku?: LoadBalancerSku;
networkMode?: NetworkMode;
networkPlugin?: NetworkPlugin;
networkPluginMode?: NetworkPluginMode;
networkPolicy?: NetworkPolicy;
}

Expand Down Expand Up @@ -2142,6 +2183,103 @@ export type TrackedResource = Resource & {
location: string;
};

// @public
export interface TrustedAccessRole {
readonly name?: string;
readonly rules?: TrustedAccessRoleRule[];
readonly sourceResourceType?: string;
}

// @public
export type TrustedAccessRoleBinding = Resource & {
readonly provisioningState?: TrustedAccessRoleBindingProvisioningState;
sourceResourceId: string;
roles: string[];
};

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

// @public
export type TrustedAccessRoleBindingProvisioningState = string;

// @public
export interface TrustedAccessRoleBindings {
createOrUpdate(resourceGroupName: string, resourceName: string, trustedAccessRoleBindingName: string, trustedAccessRoleBinding: TrustedAccessRoleBinding, options?: TrustedAccessRoleBindingsCreateOrUpdateOptionalParams): Promise<TrustedAccessRoleBindingsCreateOrUpdateResponse>;
delete(resourceGroupName: string, resourceName: string, trustedAccessRoleBindingName: string, options?: TrustedAccessRoleBindingsDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, resourceName: string, trustedAccessRoleBindingName: string, options?: TrustedAccessRoleBindingsGetOptionalParams): Promise<TrustedAccessRoleBindingsGetResponse>;
list(resourceGroupName: string, resourceName: string, options?: TrustedAccessRoleBindingsListOptionalParams): PagedAsyncIterableIterator<TrustedAccessRoleBinding>;
}

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

// @public
export type TrustedAccessRoleBindingsCreateOrUpdateResponse = TrustedAccessRoleBinding;

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

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

// @public
export type TrustedAccessRoleBindingsGetResponse = TrustedAccessRoleBinding;

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

// @public
export type TrustedAccessRoleBindingsListNextResponse = TrustedAccessRoleBindingListResult;

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

// @public
export type TrustedAccessRoleBindingsListResponse = TrustedAccessRoleBindingListResult;

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

// @public
export interface TrustedAccessRoleRule {
readonly apiGroups?: string[];
readonly nonResourceURLs?: string[];
readonly resourceNames?: string[];
readonly resources?: string[];
readonly verbs?: string[];
}

// @public
export interface TrustedAccessRoles {
list(location: string, options?: TrustedAccessRolesListOptionalParams): PagedAsyncIterableIterator<TrustedAccessRole>;
}

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

// @public
export type TrustedAccessRolesListNextResponse = TrustedAccessRoleListResult;

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

// @public
export type TrustedAccessRolesListResponse = TrustedAccessRoleListResult;

// @public
export type UpgradeChannel = string;

Expand Down
Loading