GalleryInVMAccessControlProfileVersionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. GalleryInVMAccessControlProfileVersionInner
- com.
- com.
- com.
public final class GalleryInVMAccessControlProfileVersionInner
extends Resource
Specifies information about the gallery inVMAccessControlProfile version that you want to create or update.
Constructor Summary
Constructor | Description |
---|---|
GalleryInVMAccessControlProfileVersionInner() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
Endpoint |
defaultAccess()
Get the default |
Boolean |
excludeFromLatest()
Get the exclude |
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Access |
mode()
Get the mode property: This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. |
String |
name()
Get the name property: The name of the resource. |
Gallery |
provisioningState()
Get the provisioning |
Offset |
publishedDate()
Get the published |
Replication |
replicationStatus()
Get the replication |
Access |
rules()
Get the rules property: This is the Access Control Rules specification for an in |
List<Target |
targetLocations()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Gallery |
withDefaultAccess(EndpointAccess defaultAccess)
Set the default |
Gallery |
withExcludeFromLatest(Boolean excludeFromLatest)
Set the exclude |
Gallery |
withLocation(String location) |
Gallery |
withMode(AccessControlRulesMode mode)
Set the mode property: This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. |
Gallery |
withRules(AccessControlRules rules)
Set the rules property: This is the Access Control Rules specification for an in |
Gallery |
withTags(Map<String,String> tags) |
Gallery |
withTargetLocations(List<TargetRegion> targetLocations)
Set the target |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
GalleryInVMAccessControlProfileVersionInner
public GalleryInVMAccessControlProfileVersionInner()
Creates an instance of GalleryInVMAccessControlProfileVersionInner class.
Method Details
defaultAccess
public EndpointAccess defaultAccess()
Get the defaultAccess property: This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'.
Returns:
excludeFromLatest
public Boolean excludeFromLatest()
Get the excludeFromLatest property: If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version.
Returns:
fromJson
public static GalleryInVMAccessControlProfileVersionInner fromJson(JsonReader jsonReader)
Reads an instance of GalleryInVMAccessControlProfileVersionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GalleryInVMAccessControlProfileVersionInner.id()Returns:
mode
public AccessControlRulesMode mode()
Get the mode property: This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GalleryInVMAccessControlProfileVersionInner.name()Returns:
provisioningState
public GalleryProvisioningState provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Returns:
publishedDate
public OffsetDateTime publishedDate()
Get the publishedDate property: The timestamp for when the Resource Profile Version is published.
Returns:
replicationStatus
public ReplicationStatus replicationStatus()
Get the replicationStatus property: This is the replication status of the gallery image version.
Returns:
rules
public AccessControlRules rules()
Get the rules property: This is the Access Control Rules specification for an inVMAccessControlProfile version.
Returns:
targetLocations
public List
Get the targetLocations property: The target regions where the Resource Profile version is going to be replicated to. This property is updatable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryInVMAccessControlProfileVersionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GalleryInVMAccessControlProfileVersionInner.type()Returns:
validate
public void validate()
Validates the instance.
withDefaultAccess
public GalleryInVMAccessControlProfileVersionInner withDefaultAccess(EndpointAccess defaultAccess)
Set the defaultAccess property: This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'.
Parameters:
Returns:
withExcludeFromLatest
public GalleryInVMAccessControlProfileVersionInner withExcludeFromLatest(Boolean excludeFromLatest)
Set the excludeFromLatest property: If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version.
Parameters:
Returns:
withLocation
public GalleryInVMAccessControlProfileVersionInner withLocation(String location)
Overrides:
GalleryInVMAccessControlProfileVersionInner.withLocation(String location)Parameters:
withMode
public GalleryInVMAccessControlProfileVersionInner withMode(AccessControlRulesMode mode)
Set the mode property: This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'.
Parameters:
Returns:
withRules
public GalleryInVMAccessControlProfileVersionInner withRules(AccessControlRules rules)
Set the rules property: This is the Access Control Rules specification for an inVMAccessControlProfile version.
Parameters:
Returns:
withTags
public GalleryInVMAccessControlProfileVersionInner withTags(Map
Overrides:
GalleryInVMAccessControlProfileVersionInner.withTags(Map<String,String> tags)Parameters:
withTargetLocations
public GalleryInVMAccessControlProfileVersionInner withTargetLocations(List
Set the targetLocations property: The target regions where the Resource Profile version is going to be replicated to. This property is updatable.
Parameters:
Returns:
Applies to
Azure SDK for Java