diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/CHANGELOG.md b/sdk/resourcemanager/confidentialledger/armconfidentialledger/CHANGELOG.md index 0e278f92e875..a10b223444c7 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/CHANGELOG.md +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/CHANGELOG.md @@ -1,5 +1,10 @@ # Release History +## 1.0.0 (2022-05-24) +### Other Changes + +- Release stable version. + ## 0.5.0 (2022-05-17) ### Breaking Changes diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/autorest.md b/sdk/resourcemanager/confidentialledger/armconfidentialledger/autorest.md index d00819af253a..e8d821d61cf6 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/autorest.md +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/autorest.md @@ -5,9 +5,9 @@ ``` yaml azure-arm: true require: -- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/confidentialledger/resource-manager/readme.md -- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/confidentialledger/resource-manager/readme.go.md +- https://github.com/Azure/azure-rest-api-specs/blob/792db17291c758b2bfdbbc0d35d0e2f5b5a1bd05/specification/confidentialledger/resource-manager/readme.md +- https://github.com/Azure/azure-rest-api-specs/blob/792db17291c758b2bfdbbc0d35d0e2f5b5a1bd05/specification/confidentialledger/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 0.5.0 +module-version: 1.0.0 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_confidentialledger_client_test.go b/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_confidentialledger_client_test.go index 6d46f709e55d..3b943a1e237f 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_confidentialledger_client_test.go +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_confidentialledger_client_test.go @@ -17,7 +17,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/confidentialledger/armconfidentialledger" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2021-05-13-preview/examples/CheckNameAvailability.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/stable/2022-05-13/examples/CheckNameAvailability.json func ExampleClient_CheckNameAvailability() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_ledger_client_test.go b/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_ledger_client_test.go index 578377e87135..6be3127bc463 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_ledger_client_test.go +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_ledger_client_test.go @@ -17,7 +17,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/confidentialledger/armconfidentialledger" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2021-05-13-preview/examples/ConfidentialLedger_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/stable/2022-05-13/examples/ConfidentialLedger_Get.json func ExampleLedgerClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -39,7 +39,7 @@ func ExampleLedgerClient_Get() { _ = res } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2021-05-13-preview/examples/ConfidentialLedger_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/stable/2022-05-13/examples/ConfidentialLedger_Delete.json func ExampleLedgerClient_BeginDelete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -63,7 +63,7 @@ func ExampleLedgerClient_BeginDelete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2021-05-13-preview/examples/ConfidentialLedger_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/stable/2022-05-13/examples/ConfidentialLedger_Create.json func ExampleLedgerClient_BeginCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -109,7 +109,7 @@ func ExampleLedgerClient_BeginCreate() { _ = res } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2021-05-13-preview/examples/ConfidentialLedger_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/stable/2022-05-13/examples/ConfidentialLedger_Update.json func ExampleLedgerClient_BeginUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -156,7 +156,7 @@ func ExampleLedgerClient_BeginUpdate() { _ = res } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2021-05-13-preview/examples/ConfidentialLedger_List.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/stable/2022-05-13/examples/ConfidentialLedger_List.json func ExampleLedgerClient_NewListByResourceGroupPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -181,7 +181,7 @@ func ExampleLedgerClient_NewListByResourceGroupPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2021-05-13-preview/examples/ConfidentialLedger_ListBySub.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/stable/2022-05-13/examples/ConfidentialLedger_ListBySub.json func ExampleLedgerClient_NewListBySubscriptionPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_operations_client_test.go b/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_operations_client_test.go index 9847180bbeb5..ef09ca2dc3e6 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_operations_client_test.go +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/ze_generated_example_operations_client_test.go @@ -16,7 +16,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/confidentialledger/armconfidentialledger" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2021-05-13-preview/examples/Operations_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/stable/2022-05-13/examples/Operations_Get.json func ExampleOperationsClient_NewListPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_client.go b/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_client.go index 8cd93c584bf3..2d29769ea077 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_client.go +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_client.go @@ -56,7 +56,7 @@ func NewClient(subscriptionID string, credential azcore.TokenCredential, options // CheckNameAvailability - To check whether a resource name is available. // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 // nameAvailabilityRequest - Name availability request payload. // options - ClientCheckNameAvailabilityOptions contains the optional parameters for the Client.CheckNameAvailability method. func (client *Client) CheckNameAvailability(ctx context.Context, nameAvailabilityRequest CheckNameAvailabilityRequest, options *ClientCheckNameAvailabilityOptions) (ClientCheckNameAvailabilityResponse, error) { @@ -86,7 +86,7 @@ func (client *Client) checkNameAvailabilityCreateRequest(ctx context.Context, na return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2021-05-13-preview") + reqQP.Set("api-version", "2022-05-13") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, runtime.MarshalAsJSON(req, nameAvailabilityRequest) diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_constants.go b/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_constants.go index 69ffa88202b6..7ddb488fb6f0 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_constants.go +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_constants.go @@ -10,7 +10,7 @@ package armconfidentialledger const ( moduleName = "armconfidentialledger" - moduleVersion = "v0.5.0" + moduleVersion = "v1.0.0" ) // CheckNameAvailabilityReason - The reason why the given name is not available. diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_ledger_client.go b/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_ledger_client.go index 46752e60dfbf..4d5d842c018e 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_ledger_client.go +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_ledger_client.go @@ -56,7 +56,7 @@ func NewLedgerClient(subscriptionID string, credential azcore.TokenCredential, o // BeginCreate - Creates a Confidential Ledger with the specified ledger parameters. // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 // resourceGroupName - The name of the resource group. // ledgerName - Name of the Confidential Ledger // confidentialLedger - Confidential Ledger Create Request Body @@ -77,7 +77,7 @@ func (client *LedgerClient) BeginCreate(ctx context.Context, resourceGroupName s // Create - Creates a Confidential Ledger with the specified ledger parameters. // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 func (client *LedgerClient) create(ctx context.Context, resourceGroupName string, ledgerName string, confidentialLedger ConfidentialLedger, options *LedgerClientBeginCreateOptions) (*http.Response, error) { req, err := client.createCreateRequest(ctx, resourceGroupName, ledgerName, confidentialLedger, options) if err != nil { @@ -113,7 +113,7 @@ func (client *LedgerClient) createCreateRequest(ctx context.Context, resourceGro return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2021-05-13-preview") + reqQP.Set("api-version", "2022-05-13") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, runtime.MarshalAsJSON(req, confidentialLedger) @@ -121,7 +121,7 @@ func (client *LedgerClient) createCreateRequest(ctx context.Context, resourceGro // BeginDelete - Deletes an existing Confidential Ledger. // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 // resourceGroupName - The name of the resource group. // ledgerName - Name of the Confidential Ledger // options - LedgerClientBeginDeleteOptions contains the optional parameters for the LedgerClient.BeginDelete method. @@ -139,7 +139,7 @@ func (client *LedgerClient) BeginDelete(ctx context.Context, resourceGroupName s // Delete - Deletes an existing Confidential Ledger. // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 func (client *LedgerClient) deleteOperation(ctx context.Context, resourceGroupName string, ledgerName string, options *LedgerClientBeginDeleteOptions) (*http.Response, error) { req, err := client.deleteCreateRequest(ctx, resourceGroupName, ledgerName, options) if err != nil { @@ -175,7 +175,7 @@ func (client *LedgerClient) deleteCreateRequest(ctx context.Context, resourceGro return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2021-05-13-preview") + reqQP.Set("api-version", "2022-05-13") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -183,7 +183,7 @@ func (client *LedgerClient) deleteCreateRequest(ctx context.Context, resourceGro // Get - Retrieves the properties of a Confidential Ledger. // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 // resourceGroupName - The name of the resource group. // ledgerName - Name of the Confidential Ledger // options - LedgerClientGetOptions contains the optional parameters for the LedgerClient.Get method. @@ -222,7 +222,7 @@ func (client *LedgerClient) getCreateRequest(ctx context.Context, resourceGroupN return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2021-05-13-preview") + reqQP.Set("api-version", "2022-05-13") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -239,7 +239,7 @@ func (client *LedgerClient) getHandleResponse(resp *http.Response) (LedgerClient // NewListByResourceGroupPager - Retrieves the properties of all Confidential Ledgers. // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 // resourceGroupName - The name of the resource group. // options - LedgerClientListByResourceGroupOptions contains the optional parameters for the LedgerClient.ListByResourceGroup // method. @@ -287,7 +287,7 @@ func (client *LedgerClient) listByResourceGroupCreateRequest(ctx context.Context return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2021-05-13-preview") + reqQP.Set("api-version", "2022-05-13") if options != nil && options.Filter != nil { reqQP.Set("$filter", *options.Filter) } @@ -307,7 +307,7 @@ func (client *LedgerClient) listByResourceGroupHandleResponse(resp *http.Respons // NewListBySubscriptionPager - Retrieves the properties of all Confidential Ledgers. // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 // options - LedgerClientListBySubscriptionOptions contains the optional parameters for the LedgerClient.ListBySubscription // method. func (client *LedgerClient) NewListBySubscriptionPager(options *LedgerClientListBySubscriptionOptions) *runtime.Pager[LedgerClientListBySubscriptionResponse] { @@ -350,7 +350,7 @@ func (client *LedgerClient) listBySubscriptionCreateRequest(ctx context.Context, return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2021-05-13-preview") + reqQP.Set("api-version", "2022-05-13") if options != nil && options.Filter != nil { reqQP.Set("$filter", *options.Filter) } @@ -370,7 +370,7 @@ func (client *LedgerClient) listBySubscriptionHandleResponse(resp *http.Response // BeginUpdate - Updates properties of Confidential Ledger // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 // resourceGroupName - The name of the resource group. // ledgerName - Name of the Confidential Ledger // confidentialLedger - Confidential Ledger request body for Updating Ledger @@ -389,7 +389,7 @@ func (client *LedgerClient) BeginUpdate(ctx context.Context, resourceGroupName s // Update - Updates properties of Confidential Ledger // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 func (client *LedgerClient) update(ctx context.Context, resourceGroupName string, ledgerName string, confidentialLedger ConfidentialLedger, options *LedgerClientBeginUpdateOptions) (*http.Response, error) { req, err := client.updateCreateRequest(ctx, resourceGroupName, ledgerName, confidentialLedger, options) if err != nil { @@ -425,7 +425,7 @@ func (client *LedgerClient) updateCreateRequest(ctx context.Context, resourceGro return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2021-05-13-preview") + reqQP.Set("api-version", "2022-05-13") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, runtime.MarshalAsJSON(req, confidentialLedger) diff --git a/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_operations_client.go b/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_operations_client.go index 19dbe0d564af..3d4b8f286d76 100644 --- a/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_operations_client.go +++ b/sdk/resourcemanager/confidentialledger/armconfidentialledger/zz_generated_operations_client.go @@ -50,7 +50,7 @@ func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientO // NewListPager - Retrieves a list of available API operations // If the operation fails it returns an *azcore.ResponseError type. -// Generated from API version 2021-05-13-preview +// Generated from API version 2022-05-13 // options - OperationsClientListOptions contains the optional parameters for the OperationsClient.List method. func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse] { return runtime.NewPager(runtime.PagingHandler[OperationsClientListResponse]{ @@ -88,7 +88,7 @@ func (client *OperationsClient) listCreateRequest(ctx context.Context, options * return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2021-05-13-preview") + reqQP.Set("api-version", "2022-05-13") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil