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-containerservicefleet] Update readme.python.md #6603

Closed
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
46 changes: 38 additions & 8 deletions sdk/containerservice/arm-containerservicefleet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,45 @@
# Release History

## 1.0.0-beta.2 (2023-09-06)

**Features**

## 1.0.0-beta.2 (Unreleased)
- Added operation FleetMembers.beginUpdate
- Added operation FleetMembers.beginUpdateAndWait
- Added operation Fleets.beginUpdate
- Added operation Fleets.beginUpdateAndWait
- Added Interface AgentProfile
- Added Interface APIServerAccessProfile
- Added Interface FleetMembersUpdateHeaders
- Added Interface FleetsUpdateHeaders
- Added Interface ManagedServiceIdentity
- Added Interface NodeImageSelection
- Added Interface NodeImageSelectionStatus
- Added Interface NodeImageVersion
- Added Interface UserAssignedIdentity
- Added Type Alias ManagedServiceIdentityType
- Added Type Alias NodeImageSelectionType
- Interface Fleet has a new optional parameter identity
- Interface FleetHubProfile has a new optional parameter agentProfile
- Interface FleetHubProfile has a new optional parameter apiServerAccessProfile
- Interface FleetMembersUpdateOptionalParams has a new optional parameter resumeFrom
- Interface FleetMembersUpdateOptionalParams has a new optional parameter updateIntervalInMs
- Interface FleetPatch has a new optional parameter identity
- Interface FleetsUpdateOptionalParams has a new optional parameter resumeFrom
- Interface FleetsUpdateOptionalParams has a new optional parameter updateIntervalInMs
- Interface ManagedClusterUpdate has a new optional parameter nodeImageSelection
- Interface MemberUpdateStatus has a new optional parameter message
- Interface UpdateRunStatus has a new optional parameter nodeImageSelection
- Added Enum KnownManagedServiceIdentityType
- Added Enum KnownNodeImageSelectionType
- Enum KnownUpdateState has a new value Skipped

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
**Breaking Changes**

- Removed operation FleetMembers.update
- Removed operation Fleets.update


## 1.0.0-beta.1 (2023-06-01)

The package of @azure/arm-containerservicefleet is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
8 changes: 4 additions & 4 deletions sdk/containerservice/arm-containerservicefleet/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "0724e72994ed3c77f76ed0bfa2df3b1f0c33a41b",
"commit": "342de9b6498d78aa6c78df54f3cfdb56e0f7b170",
"readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\Microsoft.ContainerService\\fleet\\readme.md --use=@autorest/[email protected].2 --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/fleet/readme.md --use=@autorest/typescript@^6.0.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].0",
"use": "@autorest/[email protected].2"
"release_tool": "@azure-tools/[email protected].2",
"use": "@autorest/typescript@^6.0.4"
}
20 changes: 6 additions & 14 deletions sdk/containerservice/arm-containerservicefleet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.3",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-rest-pipeline": "^1.12.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand Down Expand Up @@ -48,8 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
"ts-node": "^10.0.0",
"@azure/dev-tool": "^1.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -112,13 +112,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservicefleet",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservicefleet?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservicefleet"
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ import { SimplePollerLike } from '@azure/core-lro';
// @public
export type ActionType = string;

// @public
export interface AgentProfile {
subnetId?: string;
}

// @public
export interface APIServerAccessProfile {
enablePrivateCluster?: boolean;
enableVnetIntegration?: boolean;
subnetId?: string;
}

// @public (undocumented)
export class ContainerServiceFleetClient extends coreClient.ServiceClient {
// (undocumented)
Expand Down Expand Up @@ -66,6 +78,7 @@ export interface ErrorResponse {
export interface Fleet extends TrackedResource {
readonly eTag?: string;
hubProfile?: FleetHubProfile;
identity?: ManagedServiceIdentity;
readonly provisioningState?: FleetProvisioningState;
}

Expand All @@ -82,6 +95,8 @@ export interface FleetCredentialResults {

// @public
export interface FleetHubProfile {
agentProfile?: AgentProfile;
apiServerAccessProfile?: APIServerAccessProfile;
dnsPrefix?: string;
readonly fqdn?: string;
readonly kubernetesVersion?: string;
Expand Down Expand Up @@ -116,9 +131,10 @@ export interface FleetMembers {
beginCreateAndWait(resourceGroupName: string, fleetName: string, fleetMemberName: string, resource: FleetMember, options?: FleetMembersCreateOptionalParams): Promise<FleetMembersCreateResponse>;
beginDelete(resourceGroupName: string, fleetName: string, fleetMemberName: string, options?: FleetMembersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, fleetName: string, fleetMemberName: string, options?: FleetMembersDeleteOptionalParams): Promise<void>;
beginUpdate(resourceGroupName: string, fleetName: string, fleetMemberName: string, properties: FleetMemberUpdate, options?: FleetMembersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FleetMembersUpdateResponse>, FleetMembersUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, fleetName: string, fleetMemberName: string, properties: FleetMemberUpdate, options?: FleetMembersUpdateOptionalParams): Promise<FleetMembersUpdateResponse>;
get(resourceGroupName: string, fleetName: string, fleetMemberName: string, options?: FleetMembersGetOptionalParams): Promise<FleetMembersGetResponse>;
listByFleet(resourceGroupName: string, fleetName: string, options?: FleetMembersListByFleetOptionalParams): PagedAsyncIterableIterator<FleetMember>;
update(resourceGroupName: string, fleetName: string, fleetMemberName: string, properties: FleetMemberUpdate, options?: FleetMembersUpdateOptionalParams): Promise<FleetMembersUpdateResponse>;
}

// @public
Expand Down Expand Up @@ -171,9 +187,17 @@ export interface FleetMembersListByFleetOptionalParams extends coreClient.Operat
// @public
export type FleetMembersListByFleetResponse = FleetMemberListResult;

// @public
export interface FleetMembersUpdateHeaders {
location?: string;
retryAfter?: number;
}

// @public
export interface FleetMembersUpdateOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
Expand All @@ -186,6 +210,7 @@ export interface FleetMemberUpdate {

// @public
export interface FleetPatch {
identity?: ManagedServiceIdentity;
tags?: {
[propertyName: string]: string;
};
Expand All @@ -200,11 +225,12 @@ export interface Fleets {
beginCreateOrUpdateAndWait(resourceGroupName: string, fleetName: string, resource: Fleet, options?: FleetsCreateOrUpdateOptionalParams): Promise<FleetsCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, fleetName: string, options?: FleetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, fleetName: string, options?: FleetsDeleteOptionalParams): Promise<void>;
beginUpdate(resourceGroupName: string, fleetName: string, properties: FleetPatch, options?: FleetsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FleetsUpdateResponse>, FleetsUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, fleetName: string, properties: FleetPatch, options?: FleetsUpdateOptionalParams): Promise<FleetsUpdateResponse>;
get(resourceGroupName: string, fleetName: string, options?: FleetsGetOptionalParams): Promise<FleetsGetResponse>;
listByResourceGroup(resourceGroupName: string, options?: FleetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Fleet>;
listBySubscription(options?: FleetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Fleet>;
listCredentials(resourceGroupName: string, fleetName: string, options?: FleetsListCredentialsOptionalParams): Promise<FleetsListCredentialsResponse>;
update(resourceGroupName: string, fleetName: string, properties: FleetPatch, options?: FleetsUpdateOptionalParams): Promise<FleetsUpdateResponse>;
}

// @public
Expand Down Expand Up @@ -278,9 +304,17 @@ export interface FleetsListCredentialsOptionalParams extends coreClient.Operatio
// @public
export type FleetsListCredentialsResponse = FleetCredentialResults;

// @public
export interface FleetsUpdateHeaders {
location?: string;
retryAfter?: number;
}

// @public
export interface FleetsUpdateOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
Expand Down Expand Up @@ -328,6 +362,20 @@ export enum KnownManagedClusterUpgradeType {
NodeImageOnly = "NodeImageOnly"
}

// @public
export enum KnownManagedServiceIdentityType {
None = "None",
SystemAssigned = "SystemAssigned",
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned",
UserAssigned = "UserAssigned"
}

// @public
export enum KnownNodeImageSelectionType {
Consistent = "Consistent",
Latest = "Latest"
}

// @public
export enum KnownOrigin {
System = "system",
Expand All @@ -348,12 +396,14 @@ export enum KnownUpdateState {
Failed = "Failed",
NotStarted = "NotStarted",
Running = "Running",
Skipped = "Skipped",
Stopped = "Stopped",
Stopping = "Stopping"
}

// @public
export interface ManagedClusterUpdate {
nodeImageSelection?: NodeImageSelection;
upgrade: ManagedClusterUpgradeSpec;
}

Expand All @@ -366,14 +416,46 @@ export interface ManagedClusterUpgradeSpec {
// @public
export type ManagedClusterUpgradeType = string;

// @public
export interface ManagedServiceIdentity {
readonly principalId?: string;
readonly tenantId?: string;
type: ManagedServiceIdentityType;
userAssignedIdentities?: {
[propertyName: string]: UserAssignedIdentity;
};
}

// @public
export type ManagedServiceIdentityType = string;

// @public
export interface MemberUpdateStatus {
readonly clusterResourceId?: string;
readonly message?: string;
readonly name?: string;
readonly operationId?: string;
readonly status?: UpdateStatus;
}

// @public
export interface NodeImageSelection {
type: NodeImageSelectionType;
}

// @public
export interface NodeImageSelectionStatus {
readonly selectedNodeImageVersions?: NodeImageVersion[];
}

// @public
export type NodeImageSelectionType = string;

// @public
export interface NodeImageVersion {
readonly version?: string;
}

// @public
export interface Operation {
readonly actionType?: ActionType;
Expand Down Expand Up @@ -577,6 +659,7 @@ export type UpdateRunsStopResponse = UpdateRun;

// @public
export interface UpdateRunStatus {
readonly nodeImageSelection?: NodeImageSelectionStatus;
readonly stages?: UpdateStageStatus[];
readonly status?: UpdateStatus;
}
Expand Down Expand Up @@ -612,6 +695,12 @@ export interface UpdateStatus {
readonly state?: UpdateState;
}

// @public
export interface UserAssignedIdentity {
readonly clientId?: string;
readonly principalId?: string;
}

// @public
export interface WaitStatus {
readonly status?: UpdateStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class ContainerServiceFleetClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2023-03-15-preview";
this.apiVersion = options.apiVersion || "2023-06-15-preview";
this.operations = new OperationsImpl(this);
this.fleets = new FleetsImpl(this);
this.fleetMembers = new FleetMembersImpl(this);
Expand Down
Loading