public class ServiceEndpointPolicyInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ServiceEndpointPolicyInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
String |
kind()
Get the kind property: Kind of service endpoint policy.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the service endpoint policy resource.
|
String |
resourceGuid()
Get the resourceGuid property: The resource GUID property of the service endpoint policy resource.
|
List<ServiceEndpointPolicyDefinitionInner> |
serviceEndpointPolicyDefinitions()
Get the serviceEndpointPolicyDefinitions property: A collection of service endpoint policy definitions of the
service endpoint policy.
|
List<SubnetInner> |
subnets()
Get the subnets property: A collection of references to subnets.
|
void |
validate()
Validates the instance.
|
ServiceEndpointPolicyInner |
withId(String id)
Set the id property: Resource ID.
|
ServiceEndpointPolicyInner |
withLocation(String location) |
ServiceEndpointPolicyInner |
withServiceEndpointPolicyDefinitions(List<ServiceEndpointPolicyDefinitionInner> serviceEndpointPolicyDefinitions)
Set the serviceEndpointPolicyDefinitions property: A collection of service endpoint policy definitions of the
service endpoint policy.
|
ServiceEndpointPolicyInner |
withTags(Map<String,String> tags) |
public String etag()
public String kind()
public List<ServiceEndpointPolicyDefinitionInner> serviceEndpointPolicyDefinitions()
public ServiceEndpointPolicyInner withServiceEndpointPolicyDefinitions(List<ServiceEndpointPolicyDefinitionInner> serviceEndpointPolicyDefinitions)
serviceEndpointPolicyDefinitions - the serviceEndpointPolicyDefinitions value to set.public List<SubnetInner> subnets()
public String resourceGuid()
public ProvisioningState provisioningState()
public String id()
id in class com.azure.core.management.ProxyResourcepublic ServiceEndpointPolicyInner withId(String id)
id - the id value to set.public ServiceEndpointPolicyInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic ServiceEndpointPolicyInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.