SharedAccessAuthorizationRuleResource Interface

public interface SharedAccessAuthorizationRuleResource

An immutable client-side representation of SharedAccessAuthorizationRuleResource.

Method Summary

Modifier and Type Method and Description
abstract String claimType()

Gets the claimType property: Gets a string that describes the claim type.

abstract String claimValue()

Gets the claimValue property: Gets a string that describes the claim value.

abstract OffsetDateTime createdTime()

Gets the createdTime property: Gets the created time for this rule.

abstract String id()

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

abstract SharedAccessAuthorizationRuleResourceInner innerModel()

Gets the inner com.azure.resourcemanager.notificationhubs.fluent.models.SharedAccessAuthorizationRuleResourceInner object.

abstract String keyName()

Gets the keyName property: Gets a string that describes the authorization rule.

abstract ResourceListKeys listKeys()

Gets the Primary and Secondary ConnectionStrings to the NotificationHub.

abstract Response<ResourceListKeys> listKeysWithResponse(Context context)

Gets the Primary and Secondary ConnectionStrings to the NotificationHub.

abstract String location()

Gets the location property: Deprecated - only for compatibility.

abstract OffsetDateTime modifiedTime()

Gets the modifiedTime property: Gets the last modified time for this rule.

abstract String name()

Gets the name property: The name of the resource.

abstract String primaryKey()

Gets the primaryKey property: Gets a base64-encoded 256-bit primary key for signing and validating the SAS token.

abstract SharedAccessAuthorizationRuleResource refresh()

Refreshes the resource to sync with Azure.

abstract SharedAccessAuthorizationRuleResource refresh(Context context)

Refreshes the resource to sync with Azure.

abstract ResourceListKeys regenerateKeys(PolicyKeyResource parameters)

Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule.

abstract Response<ResourceListKeys> regenerateKeysWithResponse(PolicyKeyResource parameters, Context context)

Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule.

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 Integer revision()

Gets the revision property: Gets the revision number for the rule.

abstract List<AccessRights> rights()

Gets the rights property: Gets or sets the rights associated with the rule.

abstract String secondaryKey()

Gets the secondaryKey property: Gets a base64-encoded 256-bit primary key for signing and validating the SAS token.

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: Deprecated - only for compatibility.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the SharedAccessAuthorizationRuleResource resource.

Method Details

claimType

public abstract String claimType()

Gets the claimType property: Gets a string that describes the claim type.

Returns:

the claimType value.

claimValue

public abstract String claimValue()

Gets the claimValue property: Gets a string that describes the claim value.

Returns:

the claimValue value.

createdTime

public abstract OffsetDateTime createdTime()

Gets the createdTime property: Gets the created time for this rule.

Returns:

the createdTime value.

id

public abstract String id()

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

Returns:

the id value.

innerModel

public abstract SharedAccessAuthorizationRuleResourceInner innerModel()

Gets the inner com.azure.resourcemanager.notificationhubs.fluent.models.SharedAccessAuthorizationRuleResourceInner object.

Returns:

the inner object.

keyName

public abstract String keyName()

Gets the keyName property: Gets a string that describes the authorization rule.

Returns:

the keyName value.

listKeys

public abstract ResourceListKeys listKeys()

Gets the Primary and Secondary ConnectionStrings to the NotificationHub.

Returns:

the Primary and Secondary ConnectionStrings to the NotificationHub.

listKeysWithResponse

public abstract Response listKeysWithResponse(Context context)

Gets the Primary and Secondary ConnectionStrings to the NotificationHub.

Parameters:

context - The context to associate with this operation.

Returns:

the Primary and Secondary ConnectionStrings to the NotificationHub along with Response<T>.

location

public abstract String location()

Gets the location property: Deprecated - only for compatibility.

Returns:

the location value.

modifiedTime

public abstract OffsetDateTime modifiedTime()

Gets the modifiedTime property: Gets the last modified time for this rule.

Returns:

the modifiedTime value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

primaryKey

public abstract String primaryKey()

Gets the primaryKey property: Gets a base64-encoded 256-bit primary key for signing and validating the SAS token.

Returns:

the primaryKey value.

refresh

public abstract SharedAccessAuthorizationRuleResource refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract SharedAccessAuthorizationRuleResource refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

regenerateKeys

public abstract ResourceListKeys regenerateKeys(PolicyKeyResource parameters)

Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule.

Parameters:

parameters - Request content.

Returns:

response for the POST request that returns Namespace or NotificationHub access keys (connection strings).

regenerateKeysWithResponse

public abstract Response regenerateKeysWithResponse(PolicyKeyResource parameters, Context context)

Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule.

Parameters:

parameters - Request content.
context - The context to associate with this operation.

Returns:

response for the POST request that returns Namespace or NotificationHub access keys (connection strings) along with Response<T>.

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.

revision

public abstract Integer revision()

Gets the revision property: Gets the revision number for the rule.

Returns:

the revision value.

rights

public abstract List rights()

Gets the rights property: Gets or sets the rights associated with the rule.

Returns:

the rights value.

secondaryKey

public abstract String secondaryKey()

Gets the secondaryKey property: Gets a base64-encoded 256-bit primary key for signing and validating the SAS token.

Returns:

the secondaryKey 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 tags()

Gets the tags property: Deprecated - only for compatibility.

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 SharedAccessAuthorizationRuleResource.Update update()

Begins update for the SharedAccessAuthorizationRuleResource resource.

Returns:

the stage of resource update.

Applies to