Interface SharedAccessAuthorizationRuleResource
-
public interface SharedAccessAuthorizationRuleResource
An immutable client-side representation of SharedAccessAuthorizationRuleResource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SharedAccessAuthorizationRuleResource.Definition
The entirety of the SharedAccessAuthorizationRuleResource definition.static interface
SharedAccessAuthorizationRuleResource.DefinitionStages
The SharedAccessAuthorizationRuleResource definition stages.static interface
SharedAccessAuthorizationRuleResource.Update
The template for SharedAccessAuthorizationRuleResource update.static interface
SharedAccessAuthorizationRuleResource.UpdateStages
The SharedAccessAuthorizationRuleResource update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
claimType()
Gets the claimType property: A string that describes the claim type.String
claimValue()
Gets the claimValue property: A string that describes the claim value.String
createdTime()
Gets the createdTime property: The created time for this rule.String
id()
Gets the id property: Fully qualified resource Id for the resource.SharedAccessAuthorizationRuleResourceInner
innerModel()
Gets the inner com.azure.resourcemanager.notificationhubs.fluent.models.SharedAccessAuthorizationRuleResourceInner object.String
keyName()
Gets the keyName property: A string that describes the authorization rule.ResourceListKeys
listKeys()
Gets the Primary and Secondary ConnectionStrings to the namespace.com.azure.core.http.rest.Response<ResourceListKeys>
listKeysWithResponse(com.azure.core.util.Context context)
Gets the Primary and Secondary ConnectionStrings to the namespace.String
location()
Gets the location property: The geo-location where the resource lives.String
modifiedTime()
Gets the modifiedTime property: The last modified time for this rule.String
name()
Gets the name property: The name of the resource.String
primaryKey()
Gets the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.SharedAccessAuthorizationRuleResource
refresh()
Refreshes the resource to sync with Azure.SharedAccessAuthorizationRuleResource
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.ResourceListKeys
regenerateKeys(PolicykeyResource parameters)
Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule.com.azure.core.http.rest.Response<ResourceListKeys>
regenerateKeysWithResponse(PolicykeyResource parameters, com.azure.core.util.Context context)
Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule.com.azure.core.management.Region
region()
Gets the region of the resource.String
regionName()
Gets the name of the resource region.Integer
revision()
Gets the revision property: The revision number for the rule.List<AccessRights>
rights()
Gets the rights property: The rights associated with the rule.String
secondaryKey()
Gets the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.Sku
sku()
Gets the sku property: The sku of the created namespace.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.SharedAccessAuthorizationRuleResource.Update
update()
Begins update for the SharedAccessAuthorizationRuleResource resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
sku
Sku sku()
Gets the sku property: The sku of the created namespace.- Returns:
- the sku value.
-
rights
List<AccessRights> rights()
Gets the rights property: The rights associated with the rule.- Returns:
- the rights value.
-
primaryKey
String primaryKey()
Gets the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.- Returns:
- the primaryKey value.
-
secondaryKey
String secondaryKey()
Gets the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.- Returns:
- the secondaryKey value.
-
keyName
String keyName()
Gets the keyName property: A string that describes the authorization rule.- Returns:
- the keyName value.
-
claimType
String claimType()
Gets the claimType property: A string that describes the claim type.- Returns:
- the claimType value.
-
claimValue
String claimValue()
Gets the claimValue property: A string that describes the claim value.- Returns:
- the claimValue value.
-
modifiedTime
String modifiedTime()
Gets the modifiedTime property: The last modified time for this rule.- Returns:
- the modifiedTime value.
-
createdTime
String createdTime()
Gets the createdTime property: The created time for this rule.- Returns:
- the createdTime value.
-
revision
Integer revision()
Gets the revision property: The revision number for the rule.- Returns:
- the revision value.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
innerModel
SharedAccessAuthorizationRuleResourceInner innerModel()
Gets the inner com.azure.resourcemanager.notificationhubs.fluent.models.SharedAccessAuthorizationRuleResourceInner object.- Returns:
- the inner object.
-
update
SharedAccessAuthorizationRuleResource.Update update()
Begins update for the SharedAccessAuthorizationRuleResource resource.- Returns:
- the stage of resource update.
-
refresh
SharedAccessAuthorizationRuleResource refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
SharedAccessAuthorizationRuleResource refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
listKeys
ResourceListKeys listKeys()
Gets the Primary and Secondary ConnectionStrings to the namespace.- Returns:
- the Primary and Secondary ConnectionStrings to the namespace.
- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysWithResponse
com.azure.core.http.rest.Response<ResourceListKeys> listKeysWithResponse(com.azure.core.util.Context context)
Gets the Primary and Secondary ConnectionStrings to the namespace.- Parameters:
context
- The context to associate with this operation.- Returns:
- the Primary and Secondary ConnectionStrings to the namespace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeys
ResourceListKeys regenerateKeys(PolicykeyResource parameters)
Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule.- Parameters:
parameters
- Parameters supplied to regenerate the Namespace Authorization Rule Key.- Returns:
- namespace/NotificationHub Connection String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeysWithResponse
com.azure.core.http.rest.Response<ResourceListKeys> regenerateKeysWithResponse(PolicykeyResource parameters, com.azure.core.util.Context context)
Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule.- Parameters:
parameters
- Parameters supplied to regenerate the Namespace Authorization Rule Key.context
- The context to associate with this operation.- Returns:
- namespace/NotificationHub Connection String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-