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

49 строки
2.8 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion"
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>"
name: "Resource.DefinitionWithRegion<T>"
nameWithType: "Resource.DefinitionWithRegion<T>"
summary: "A resource definition allowing a location be selected for the resource."
syntax: "public static interface **Resource.DefinitionWithRegion<T>**"
methods:
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion.withRegion(com.microsoft.azure.management.resources.fluentcore.arm.Region)"
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>.withRegion(Region region)"
name: "withRegion(Region region)"
nameWithType: "Resource.DefinitionWithRegion<T>.withRegion(Region region)"
summary: "Specifies the region for the resource."
modifiers:
- "abstract"
parameters:
- description: "The location for the resource"
name: "region"
type: "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.Region?alt=com.microsoft.azure.management.resources.fluentcore.arm.Region&text=Region\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract T withRegion(Region region)"
desc: "Specifies the region for the resource."
returns:
description: "the next stage of the definition"
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion.withRegion(java.lang.String)"
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>.withRegion(String regionName)"
name: "withRegion(String regionName)"
nameWithType: "Resource.DefinitionWithRegion<T>.withRegion(String regionName)"
summary: "Specifies the region for the resource by name."
modifiers:
- "abstract"
parameters:
- description: "The name of the region for the resource"
name: "regionName"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract T withRegion(String regionName)"
desc: "Specifies the region for the resource by name."
returns:
description: "the next stage of the definition"
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
typeParameters:
- description: "the type of the next stage resource definition"
name: "T"
desc: "A resource definition allowing a location be selected for the resource."
metadata: {}
package: "com.microsoft.azure.management.resources.fluentcore.arm.models"
artifact: com.microsoft.azure:azure-mgmt-resources:1.41.4