ServiceEndpointPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. ServiceEndpointPolicyInner
- com.
- com.
- com.
public final class ServiceEndpointPolicyInner
extends Resource
Service End point policy resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceEndpointPolicyInner() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
contextualServiceEndpointPolicies()
Get the contextual |
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
| String |
id()
Get the id property: Resource ID. |
| String |
kind()
Get the kind property: Kind of service endpoint policy. |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
| String |
serviceAlias()
Get the service |
|
List<Service |
serviceEndpointPolicyDefinitions()
Get the service |
|
List<Subnet |
subnets()
Get the subnets property: A collection of references to subnets. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Service |
withContextualServiceEndpointPolicies(List<String> contextualServiceEndpointPolicies)
Set the contextual |
|
Service |
withId(String id)
Set the id property: Resource ID. |
|
Service |
withLocation(String location) |
|
Service |
withServiceAlias(String serviceAlias)
Set the service |
|
Service |
withServiceEndpointPolicyDefinitions(List<ServiceEndpointPolicyDefinitionInner> serviceEndpointPolicyDefinitions)
Set the service |
|
Service |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ServiceEndpointPolicyInner
public ServiceEndpointPolicyInner()
Creates an instance of ServiceEndpointPolicyInner class.
Method Details
contextualServiceEndpointPolicies
public List<String> contextualServiceEndpointPolicies()
Get the contextualServiceEndpointPolicies property: A collection of contextual service endpoint policy.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ServiceEndpointPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of ServiceEndpointPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
ServiceEndpointPolicyInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of service endpoint policy. This is metadata used for the Azure portal experience.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServiceEndpointPolicyInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the service endpoint policy resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the service endpoint policy resource.
Returns:
serviceAlias
public String serviceAlias()
Get the serviceAlias property: The alias indicating if the policy belongs to a service.
Returns:
serviceEndpointPolicyDefinitions
public List<ServiceEndpointPolicyDefinitionInner> serviceEndpointPolicyDefinitions()
Get the serviceEndpointPolicyDefinitions property: A collection of service endpoint policy definitions of the service endpoint policy.
Returns:
subnets
public List<SubnetInner> subnets()
Get the subnets property: A collection of references to subnets.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServiceEndpointPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServiceEndpointPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withContextualServiceEndpointPolicies
public ServiceEndpointPolicyInner withContextualServiceEndpointPolicies(List<String> contextualServiceEndpointPolicies)
Set the contextualServiceEndpointPolicies property: A collection of contextual service endpoint policy.
Parameters:
Returns:
withId
public ServiceEndpointPolicyInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public ServiceEndpointPolicyInner withLocation(String location)
Overrides:
ServiceEndpointPolicyInner.withLocation(String location)Parameters:
withServiceAlias
public ServiceEndpointPolicyInner withServiceAlias(String serviceAlias)
Set the serviceAlias property: The alias indicating if the policy belongs to a service.
Parameters:
Returns:
withServiceEndpointPolicyDefinitions
public ServiceEndpointPolicyInner withServiceEndpointPolicyDefinitions(List<ServiceEndpointPolicyDefinitionInner> serviceEndpointPolicyDefinitions)
Set the serviceEndpointPolicyDefinitions property: A collection of service endpoint policy definitions of the service endpoint policy.
Parameters:
Returns:
withTags
public ServiceEndpointPolicyInner withTags(Map<String,String> tags)
Overrides:
ServiceEndpointPolicyInner.withTags(Map<String,String> tags)Parameters: