Assignment Interface

public interface Assignment

An immutable client-side representation of Assignment.

Method Summary

Modifier and Type Method and Description
abstract AssignmentPropertiesAdditionalData additionalData()

Gets the additionalData property: Additional data about the assignment.

abstract AssignedComponentItem assignedComponent()

Gets the assignedComponent property: Component item with key as applied to this standard assignment over the given scope.

abstract AssignedStandardItem assignedStandard()

Gets the assignedStandard property: Standard item with key as applied to this standard assignment over the given scope.

abstract String description()

Gets the description property: description of the standardAssignment.

abstract String displayName()

Gets the displayName property: display name of the standardAssignment.

abstract String effect()

Gets the effect property: expected effect of this assignment (Disable/Exempt/etc).

abstract String etag()

Gets the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

abstract OffsetDateTime expiresOn()

Gets the expiresOn property: Expiration date of this assignment as a full ISO date.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract AssignmentInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.AssignmentInner object.

abstract String kind()

Gets the kind property: Kind of the resource.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract Object metadata()

Gets the metadata property: The assignment metadata.

abstract String name()

Gets the name property: The name of the resource.

abstract Assignment refresh()

Refreshes the resource to sync with Azure.

abstract Assignment refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract String scope()

Gets the scope property: Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Assignment resource.

Method Details

additionalData

public abstract AssignmentPropertiesAdditionalData additionalData()

Gets the additionalData property: Additional data about the assignment.

Returns:

the additionalData value.

assignedComponent

public abstract AssignedComponentItem assignedComponent()

Gets the assignedComponent property: Component item with key as applied to this standard assignment over the given scope.

Returns:

the assignedComponent value.

assignedStandard

public abstract AssignedStandardItem assignedStandard()

Gets the assignedStandard property: Standard item with key as applied to this standard assignment over the given scope.

Returns:

the assignedStandard value.

description

public abstract String description()

Gets the description property: description of the standardAssignment.

Returns:

the description value.

displayName

public abstract String displayName()

Gets the displayName property: display name of the standardAssignment.

Returns:

the displayName value.

effect

public abstract String effect()

Gets the effect property: expected effect of this assignment (Disable/Exempt/etc).

Returns:

the effect value.

etag

public abstract String etag()

Gets the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

Returns:

the etag value.

expiresOn

public abstract OffsetDateTime expiresOn()

Gets the expiresOn property: Expiration date of this assignment as a full ISO date.

Returns:

the expiresOn value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract AssignmentInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.AssignmentInner object.

Returns:

the inner object.

kind

public abstract String kind()

Gets the kind property: Kind of the resource.

Returns:

the kind value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

metadata

public abstract Object metadata()

Gets the metadata property: The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.

Returns:

the metadata value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

refresh

public abstract Assignment refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Assignment refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

scope

public abstract String scope()

Gets the scope property: Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription.

Returns:

the scope value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Assignment.Update update()

Begins update for the Assignment resource.

Returns:

the stage of resource update.

Applies to