Skip to content

Commit

Permalink
mgmt, local generation for App Services (DNL GA) API 2024-04-01 Versi…
Browse files Browse the repository at this point in the history
…on (#42916)

* mgmt, local generation for App Services
  • Loading branch information
v-hongli1 authored Nov 20, 2024
1 parent 3de0af2 commit 52cefcb
Show file tree
Hide file tree
Showing 510 changed files with 2,835 additions and 2,278 deletions.
2 changes: 1 addition & 1 deletion sdk/resourcemanager/api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dir": "azure-resourcemanager-appservice",
"source": "specification/web/resource-manager/readme.md",
"package": "com.azure.resourcemanager.appservice",
"args": "--tag=package-2023-12 --add-inner=AppServiceCertificate --remove-inner=CsmDeploymentStatus --name-for-ungrouped-operations=ResourceProvider"
"args": "--tag=package-2024-04 --add-inner=AppServiceCertificate --remove-inner=CsmDeploymentStatus --name-for-ungrouped-operations=ResourceProvider"
},
"appservice-hybrid": {
"dir": "../resourcemanagerhybrid/azure-resourcemanager-appservice",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

## 2.45.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes
### Other Changes

### Bugs Fixed
#### Dependency Updates

### Other Changes
- Updated `api-version` to `2024-04-01`.

## 2.44.0 (2024-10-25)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/resourcemanager/azure-resourcemanager-appservice",
"Tag": "java/resourcemanager/azure-resourcemanager-appservice_408105378c"
"Tag": "java/resourcemanager/azure-resourcemanager-appservice_cc88df4aa7"
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@
import com.azure.resourcemanager.appservice.fluent.models.StaticSiteCustomDomainOverviewArmResourceInner;
import com.azure.resourcemanager.appservice.fluent.models.StaticSiteFunctionOverviewArmResourceInner;
import com.azure.resourcemanager.appservice.fluent.models.StaticSiteLinkedBackendArmResourceInner;
import com.azure.resourcemanager.appservice.fluent.models.StaticSitesWorkflowPreviewInner;
import com.azure.resourcemanager.appservice.fluent.models.StaticSiteUserArmResourceInner;
import com.azure.resourcemanager.appservice.fluent.models.StaticSiteUserInvitationResponseResourceInner;
import com.azure.resourcemanager.appservice.fluent.models.StaticSiteUserProvidedFunctionAppArmResourceInner;
import com.azure.resourcemanager.appservice.fluent.models.StaticSitesWorkflowPreviewInner;
import com.azure.resourcemanager.appservice.fluent.models.StringDictionaryInner;
import com.azure.resourcemanager.appservice.fluent.models.StringListInner;
import com.azure.resourcemanager.appservice.models.BasicAuthName;
import com.azure.resourcemanager.appservice.models.DatabaseConnectionPatchRequest;
import com.azure.resourcemanager.appservice.models.StaticSiteCustomDomainRequestPropertiesArmResource;
import com.azure.resourcemanager.appservice.models.StaticSitePatchResource;
import com.azure.resourcemanager.appservice.models.StaticSiteResetPropertiesArmResource;
import com.azure.resourcemanager.appservice.models.StaticSitesWorkflowPreviewRequest;
import com.azure.resourcemanager.appservice.models.StaticSiteUserInvitationRequestResource;
import com.azure.resourcemanager.appservice.models.StaticSiteZipDeploymentArmResource;
import com.azure.resourcemanager.appservice.models.StaticSitesWorkflowPreviewRequest;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
import com.azure.resourcemanager.appservice.fluent.models.HybridConnectionInner;
import com.azure.resourcemanager.appservice.fluent.models.IdentifierInner;
import com.azure.resourcemanager.appservice.fluent.models.KeyInfoInner;
import com.azure.resourcemanager.appservice.fluent.models.MigrateMySqlStatusInner;
import com.azure.resourcemanager.appservice.fluent.models.MSDeployLogInner;
import com.azure.resourcemanager.appservice.fluent.models.MSDeployStatusInner;
import com.azure.resourcemanager.appservice.fluent.models.MigrateMySqlStatusInner;
import com.azure.resourcemanager.appservice.fluent.models.NetworkFeaturesInner;
import com.azure.resourcemanager.appservice.fluent.models.NetworkTraceInner;
import com.azure.resourcemanager.appservice.fluent.models.OperationInner;
Expand Down Expand Up @@ -79,8 +79,8 @@
import com.azure.resourcemanager.appservice.models.CsmPublishingProfileOptions;
import com.azure.resourcemanager.appservice.models.CsmSlotEntity;
import com.azure.resourcemanager.appservice.models.DeletedAppRestoreRequest;
import com.azure.resourcemanager.appservice.models.MigrateMySqlRequest;
import com.azure.resourcemanager.appservice.models.MSDeploy;
import com.azure.resourcemanager.appservice.models.MigrateMySqlRequest;
import com.azure.resourcemanager.appservice.models.PremierAddOnPatchResource;
import com.azure.resourcemanager.appservice.models.SnapshotRestoreRequest;
import com.azure.resourcemanager.appservice.models.StorageMigrationOptions;
Expand Down Expand Up @@ -9180,6 +9180,63 @@ Response<FunctionSecretsInner> listSyncFunctionTriggersWithResponse(String resou
@ServiceMethod(returns = ReturnType.SINGLE)
FunctionSecretsInner listSyncFunctionTriggers(String resourceGroupName, String name);

/**
* Updates the machine key of an app.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the app.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return any object along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<Object>> updateMachineKeyWithResponseAsync(String resourceGroupName, String name);

/**
* Updates the machine key of an app.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the app.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return any object on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Object> updateMachineKeyAsync(String resourceGroupName, String name);

/**
* Updates the machine key of an app.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the app.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return any object along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Object> updateMachineKeyWithResponse(String resourceGroupName, String name, Context context);

/**
* Updates the machine key of an app.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the app.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return any object.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Object updateMachineKey(String resourceGroupName, String name);

/**
* Restores a web app.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ public interface WebSiteManagementClient {
*/
CertificateRegistrationProvidersClient getCertificateRegistrationProviders();

/**
* Gets the DomainRegistrationProvidersClient object to access its operations.
*
* @return the DomainRegistrationProvidersClient object.
*/
DomainRegistrationProvidersClient getDomainRegistrationProviders();

/**
* Gets the DomainsClient object to access its operations.
*
Expand All @@ -81,13 +88,6 @@ public interface WebSiteManagementClient {
*/
TopLevelDomainsClient getTopLevelDomains();

/**
* Gets the DomainRegistrationProvidersClient object to access its operations.
*
* @return the DomainRegistrationProvidersClient object.
*/
DomainRegistrationProvidersClient getDomainRegistrationProviders();

/**
* Gets the AppServiceEnvironmentsClient object to access its operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ public final class AddressResponseInner extends ProxyOnlyResource {
private AddressResponseProperties innerProperties;

/*
* Fully qualified resource Id for the resource.
* The type of the resource.
*/
private String id;
private String type;

/*
* The name of the resource.
*/
private String name;

/*
* The type of the resource.
* Fully qualified resource Id for the resource.
*/
private String type;
private String id;

/**
* Creates an instance of AddressResponseInner class.
Expand All @@ -54,13 +54,13 @@ private AddressResponseProperties innerProperties() {
}

/**
* Get the id property: Fully qualified resource Id for the resource.
* Get the type property: The type of the resource.
*
* @return the id value.
* @return the type value.
*/
@Override
public String id() {
return this.id;
public String type() {
return this.type;
}

/**
Expand All @@ -74,13 +74,13 @@ public String name() {
}

/**
* Get the type property: The type of the resource.
* Get the id property: Fully qualified resource Id for the resource.
*
* @return the type value.
* @return the id value.
*/
@Override
public String type() {
return this.type;
public String id() {
return this.id;
}

/**
Expand Down Expand Up @@ -193,7 +193,6 @@ public AddressResponseInner withVipMappings(List<VirtualIpMapping> vipMappings)
*/
@Override
public void validate() {
super.validate();
if (innerProperties() != null) {
innerProperties().validate();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ public final class AnalysisDefinitionInner extends ProxyOnlyResource {
private AnalysisDefinitionProperties innerProperties;

/*
* Fully qualified resource Id for the resource.
* The type of the resource.
*/
private String id;
private String type;

/*
* The name of the resource.
*/
private String name;

/*
* The type of the resource.
* Fully qualified resource Id for the resource.
*/
private String type;
private String id;

/**
* Creates an instance of AnalysisDefinitionInner class.
Expand All @@ -52,13 +52,13 @@ private AnalysisDefinitionProperties innerProperties() {
}

/**
* Get the id property: Fully qualified resource Id for the resource.
* Get the type property: The type of the resource.
*
* @return the id value.
* @return the type value.
*/
@Override
public String id() {
return this.id;
public String type() {
return this.type;
}

/**
Expand All @@ -72,13 +72,13 @@ public String name() {
}

/**
* Get the type property: The type of the resource.
* Get the id property: Fully qualified resource Id for the resource.
*
* @return the type value.
* @return the id value.
*/
@Override
public String type() {
return this.type;
public String id() {
return this.id;
}

/**
Expand Down Expand Up @@ -106,7 +106,6 @@ public String description() {
*/
@Override
public void validate() {
super.validate();
if (innerProperties() != null) {
innerProperties().validate();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ public final class ApiKVReferenceInner extends ProxyOnlyResource {
private ApiKVReferenceProperties innerProperties;

/*
* Fully qualified resource Id for the resource.
* The type of the resource.
*/
private String id;
private String type;

/*
* The name of the resource.
*/
private String name;

/*
* The type of the resource.
* Fully qualified resource Id for the resource.
*/
private String type;
private String id;

/**
* Creates an instance of ApiKVReferenceInner class.
Expand All @@ -55,13 +55,13 @@ private ApiKVReferenceProperties innerProperties() {
}

/**
* Get the id property: Fully qualified resource Id for the resource.
* Get the type property: The type of the resource.
*
* @return the id value.
* @return the type value.
*/
@Override
public String id() {
return this.id;
public String type() {
return this.type;
}

/**
Expand All @@ -75,13 +75,13 @@ public String name() {
}

/**
* Get the type property: The type of the resource.
* Get the id property: Fully qualified resource Id for the resource.
*
* @return the type value.
* @return the id value.
*/
@Override
public String type() {
return this.type;
public String id() {
return this.id;
}

/**
Expand Down Expand Up @@ -307,7 +307,6 @@ public ApiKVReferenceInner withActiveVersion(String activeVersion) {
*/
@Override
public void validate() {
super.validate();
if (innerProperties() != null) {
innerProperties().validate();
}
Expand Down
Loading

0 comments on commit 52cefcb

Please sign in to comment.