azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.managem...

356 строки
18 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.management.resources._generic_resource._update
id: _update
parent: com.microsoft.azure.management.resources
href: com.microsoft.azure.management.resources._generic_resource._update.yml
langs:
- java
name: GenericResource.Update
nameWithType: GenericResource.Update
fullName: com.microsoft.azure.management.resources.GenericResource.Update
type: Interface
source:
remote:
path: azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java
branch: v1.3.0
repo: https://github.com/Azure/azure-sdk-for-java
path: azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java
startLine: 267
package: com.microsoft.azure.management.resources
summary: <p>The template for a generic resource update operation, containing all the settings that can be modified. </p>
syntax:
content: public interface Update extends Appliable<GenericResource>,GenericResource.UpdateStages.WithApiVersion,GenericResource.UpdateStages.WithPlan,GenericResource.UpdateStages.WithParentResource,GenericResource.UpdateStages.WithProperties,Resource.UpdateWithTags<Update>
inheritedMembers:
- com.microsoft.azure.management.resources.fluentcore.model._appliable.apply()
- com.microsoft.azure.management.resources.fluentcore.model._appliable.applyAsync()
- com.microsoft.azure.management.resources.fluentcore.model._appliable.applyAsync(final ServiceCallback<T>)
- com.microsoft.azure.management.resources.fluentcore.model._indexable.key()
- com.microsoft.azure.management.resources._generic_resource._update_stages._with_api_version.withApiVersion(String)
- com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan.withoutPlan()
- com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.withoutTag(String)
- com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource.withParentResourceId(String)
- com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource.withParentResourcePath(String)
- com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan.withPlan(String,String,String,String)
- com.microsoft.azure.management.resources._generic_resource._update_stages._with_properties.withProperties(Object)
- com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.withTag(String,String)
- com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.withTags(Map<String, String>)
references:
- uid: com.microsoft.azure.management.resources.fluentcore.model._appliable.apply()
parent: com.microsoft.azure.management.resources.fluentcore.model._appliable
href: com.microsoft.azure.management.resources.fluentcore.model._appliable.yml
name: apply()
nameWithType: Appliable<T>.apply()
fullName: com.microsoft.azure.management.resources.fluentcore.model.Appliable<T>.apply()
type: Method
summary: >-
<p>Execute the update request.</p>
<p></p>
syntax:
content: public T apply()
return:
type: 8ce1ecb9
description: <p>the updated resource </p>
- uid: com.microsoft.azure.management.resources.fluentcore.model._appliable.applyAsync()
parent: com.microsoft.azure.management.resources.fluentcore.model._appliable
href: com.microsoft.azure.management.resources.fluentcore.model._appliable.yml
name: applyAsync()
nameWithType: Appliable<T>.applyAsync()
fullName: com.microsoft.azure.management.resources.fluentcore.model.Appliable<T>.applyAsync()
type: Method
summary: >-
<p>Execute the update request asynchronously.</p>
<p></p>
syntax:
content: public Observable<T> applyAsync()
return:
type: c4094ba1
description: <p>the handle to the REST call </p>
- uid: com.microsoft.azure.management.resources.fluentcore.model._appliable.applyAsync(final ServiceCallback<T>)
parent: com.microsoft.azure.management.resources.fluentcore.model._appliable
href: com.microsoft.azure.management.resources.fluentcore.model._appliable.yml
name: applyAsync(final ServiceCallback<T> callback)
nameWithType: Appliable<T>.applyAsync(final ServiceCallback<T> callback)
fullName: com.microsoft.azure.management.resources.fluentcore.model.Appliable<T>.applyAsync(final ServiceCallback<T> callback)
type: Method
summary: >-
<p>Execute the update request asynchronously.</p>
<p></p>
syntax:
content: public ServiceFuture<T> applyAsync(final ServiceCallback<T> callback)
parameters:
- id: callback
type: fe95c2b0
description: <p>the callback for success and failure </p>
return:
type: c0371a4e
description: <p>the handle to the REST call </p>
- uid: com.microsoft.azure.management.resources.fluentcore.model._indexable.key()
parent: com.microsoft.azure.management.resources.fluentcore.model._indexable
href: com.microsoft.azure.management.resources.fluentcore.model._indexable.yml
name: key()
nameWithType: Indexable.key()
fullName: com.microsoft.azure.management.resources.fluentcore.model.Indexable.key()
type: Method
syntax:
content: public String key()
return:
type: "26831127"
description: <p>the index key. </p>
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_api_version.withApiVersion(String)
parent: com.microsoft.azure.management.resources._generic_resource._update_stages._with_api_version
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_api_version.yml
name: withApiVersion(String apiVersion)
nameWithType: GenericResource.UpdateStages.WithApiVersion.withApiVersion(String apiVersion)
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithApiVersion.withApiVersion(String apiVersion)
type: Method
summary: >-
<p>Specifies the API version of the resource provider.</p>
<p></p>
syntax:
content: public Update withApiVersion(String apiVersion)
parameters:
- id: apiVersion
type: "26831127"
description: <p>the API version </p>
return:
type: com.microsoft.azure.management.resources._generic_resource._update
description: <p>the next stage of the generic resource update </p>
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan.withoutPlan()
parent: com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan.yml
name: withoutPlan()
nameWithType: GenericResource.UpdateStages.WithPlan.withoutPlan()
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithPlan.withoutPlan()
type: Method
summary: >-
<p>Specifies the plan of the resource.</p>
<p></p>
syntax:
content: public Update withoutPlan()
return:
type: com.microsoft.azure.management.resources._generic_resource._update
description: <p>the next stage of the generic resource update </p>
- uid: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.withoutTag(String)
parent: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags
href: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.yml
name: withoutTag(String key)
nameWithType: Resource.UpdateWithTags<T>.withoutTag(String key)
fullName: com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>.withoutTag(String key)
type: Method
summary: <p>Removes a tag from the resource. </p>
syntax:
content: public T withoutTag(String key)
parameters:
- id: key
type: "26831127"
description: <p>the key of the tag to remove </p>
return:
type: 8ce1ecb9
description: <p>the next stage of the resource update </p>
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource.withParentResourceId(String)
parent: com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource.yml
name: withParentResourceId(String parentResourceId)
nameWithType: GenericResource.UpdateStages.WithParentResource.withParentResourceId(String parentResourceId)
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithParentResource.withParentResourceId(String parentResourceId)
type: Method
summary: >-
<p>Specifies the parent resource.</p>
<p></p>
syntax:
content: public Update withParentResourceId(String parentResourceId)
parameters:
- id: parentResourceId
type: "26831127"
description: <p>the parent resource id </p>
return:
type: com.microsoft.azure.management.resources._generic_resource._update
description: <p>the next stage of the generic resource update </p>
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource.withParentResourcePath(String)
parent: com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource.yml
name: withParentResourcePath(String parentResourcePath)
nameWithType: GenericResource.UpdateStages.WithParentResource.withParentResourcePath(String parentResourcePath)
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithParentResource.withParentResourcePath(String parentResourcePath)
type: Method
summary: >-
<p>Specifies the parent resource relative path.</p>
<p></p>
syntax:
content: public Update withParentResourcePath(String parentResourcePath)
parameters:
- id: parentResourcePath
type: "26831127"
description: <p>the relative path of parent resource </p>
return:
type: com.microsoft.azure.management.resources._generic_resource._update
description: <p>the next stage of the generic resource update </p>
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan.withPlan(String,String,String,String)
parent: com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan.yml
name: withPlan(String name, String publisher, String product, String promotionCode)
nameWithType: GenericResource.UpdateStages.WithPlan.withPlan(String name, String publisher, String product, String promotionCode)
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithPlan.withPlan(String name, String publisher, String product, String promotionCode)
type: Method
summary: >-
<p>Specifies the plan of the resource.</p>
<p></p>
syntax:
content: public Update withPlan(String name, String publisher, String product, String promotionCode)
parameters:
- id: name
type: "26831127"
description: <p>the name of the plan </p>
- id: publisher
type: "26831127"
description: <p>the publisher of the plan </p>
- id: product
type: "26831127"
description: <p>the name of the product </p>
- id: promotionCode
type: "26831127"
description: <p>the promotion code, if any </p>
return:
type: com.microsoft.azure.management.resources._generic_resource._update
description: <p>the next stage of the generic resource update </p>
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_properties.withProperties(Object)
parent: com.microsoft.azure.management.resources._generic_resource._update_stages._with_properties
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_properties.yml
name: withProperties(Object properties)
nameWithType: GenericResource.UpdateStages.WithProperties.withProperties(Object properties)
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithProperties.withProperties(Object properties)
type: Method
summary: >-
<p>Specifies other properties of the resource.</p>
<p></p>
syntax:
content: public Update withProperties(Object properties)
parameters:
- id: properties
type: "79317049"
description: <p>the properties object </p>
return:
type: com.microsoft.azure.management.resources._generic_resource._update
description: <p>the next stage of generic resource update </p>
- uid: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.withTag(String,String)
parent: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags
href: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.yml
name: withTag(String key, String value)
nameWithType: Resource.UpdateWithTags<T>.withTag(String key, String value)
fullName: com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>.withTag(String key, String value)
type: Method
summary: <p>Adds a tag to the resource. </p>
syntax:
content: public T withTag(String key, String value)
parameters:
- id: key
type: "26831127"
description: <p>the key for the tag </p>
- id: value
type: "26831127"
description: <p>the value for the tag </p>
return:
type: 8ce1ecb9
description: <p>the next stage of the resource update </p>
- uid: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.withTags(Map<String, String>)
parent: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags
href: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.yml
name: withTags(Map<String, String> tags)
nameWithType: Resource.UpdateWithTags<T>.withTags(Map<String, String> tags)
fullName: com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>.withTags(Map<String, String> tags)
type: Method
summary: <p>Specifies tags for the resource as a <xref uid="" data-throw-if-not-resolved="false">Map</xref>. </p>
syntax:
content: public T withTags(Map<String, String> tags)
parameters:
- id: tags
type: 689c8cb5
description: <p>a <xref uid="" data-throw-if-not-resolved="false">Map</xref> of tags </p>
return:
type: 8ce1ecb9
description: <p>the next stage of the resource update </p>
- uid: com.microsoft.azure.management.resources.fluentcore.model._appliable
parent: com.microsoft.azure.management.resources.fluentcore.model
href: com.microsoft.azure.management.resources.fluentcore.model._appliable.yml
name: Appliable<T>
nameWithType: Appliable<T>
fullName: com.microsoft.azure.management.resources.fluentcore.model.Appliable<T>
type: Interface
summary: >-
<p>The base interface for all template interfaces that support update operations.</p>
<p></p>
syntax:
content: public interface Appliable<T> extends Indexable
typeParameters:
- id: T
type: 8ce1ecb9
description: <p>the type of the resource returned from the update. </p>
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_api_version
parent: com.microsoft.azure.management.resources
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_api_version.yml
name: GenericResource.UpdateStages.WithApiVersion
nameWithType: GenericResource.UpdateStages.WithApiVersion
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithApiVersion
type: Interface
summary: <p>The template for a generic resource update operation for specifying the resource provider API version. </p>
syntax:
content: public interface WithApiVersion
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan
parent: com.microsoft.azure.management.resources
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_plan.yml
name: GenericResource.UpdateStages.WithPlan
nameWithType: GenericResource.UpdateStages.WithPlan
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithPlan
type: Interface
summary: <p>A generic resource update allowing to change the resource plan. </p>
syntax:
content: public interface WithPlan
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource
parent: com.microsoft.azure.management.resources
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_parent_resource.yml
name: GenericResource.UpdateStages.WithParentResource
nameWithType: GenericResource.UpdateStages.WithParentResource
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithParentResource
type: Interface
summary: <p>A generic resource update allowing to change the parent resource. </p>
syntax:
content: public interface WithParentResource
- uid: com.microsoft.azure.management.resources._generic_resource._update_stages._with_properties
parent: com.microsoft.azure.management.resources
href: com.microsoft.azure.management.resources._generic_resource._update_stages._with_properties.yml
name: GenericResource.UpdateStages.WithProperties
nameWithType: GenericResource.UpdateStages.WithProperties
fullName: com.microsoft.azure.management.resources.GenericResource.UpdateStages.WithProperties
type: Interface
summary: <p>A generic resource update allowing to change the resource properties. </p>
syntax:
content: public interface WithProperties
- uid: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags
parent: com.microsoft.azure.management.resources.fluentcore.arm.models
href: com.microsoft.azure.management.resources.fluentcore.arm.models._resource._update_with_tags.yml
name: Resource.UpdateWithTags<T>
nameWithType: Resource.UpdateWithTags<T>
fullName: com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>
type: Interface
summary: >-
<p>An update allowing tags to be modified for the resource.</p>
<p></p>
syntax:
content: public interface UpdateWithTags<T>
typeParameters:
- id: T
type: 8ce1ecb9
description: <p>the type of the next stage resource update </p>