Share via


Client Interface

public interface Client

An immutable client-side representation of Client.

Method Summary

Modifier and Type Method and Description
abstract Map<String,Object> attributes()

Gets the attributes property: Attributes for the client.

abstract String authenticationName()

Gets the authenticationName property: The name presented by the client for authentication.

abstract ClientCertificateAuthentication clientCertificateAuthentication()

Gets the clientCertificateAuthentication property: The client certificate authentication information.

abstract String description()

Gets the description property: Description for the Client resource.

abstract String id()

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

abstract ClientInner innerModel()

Gets the inner com.azure.resourcemanager.eventgrid.fluent.models.ClientInner object.

abstract String name()

Gets the name property: The name of the resource.

abstract ClientProvisioningState provisioningState()

Gets the provisioningState property: Provisioning state of the Client resource.

abstract Client refresh()

Refreshes the resource to sync with Azure.

abstract Client refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract ClientState state()

Gets the state property: Indicates if the client is enabled or not.

abstract SystemData systemData()

Gets the systemData property: The system metadata relating to the Event Grid resource.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Client resource.

Method Details

attributes

public abstract Map<String,Object> attributes()

Gets the attributes property: Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }.

Returns:

the attributes value.

authenticationName

public abstract String authenticationName()

Gets the authenticationName property: The name presented by the client for authentication. The default value is the name of the resource.

Returns:

the authenticationName value.

clientCertificateAuthentication

public abstract ClientCertificateAuthentication clientCertificateAuthentication()

Gets the clientCertificateAuthentication property: The client certificate authentication information.

Returns:

the clientCertificateAuthentication value.

description

public abstract String description()

Gets the description property: Description for the Client resource.

Returns:

the description value.

id

public abstract String id()

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

Returns:

the id value.

innerModel

public abstract ClientInner innerModel()

Gets the inner com.azure.resourcemanager.eventgrid.fluent.models.ClientInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract ClientProvisioningState provisioningState()

Gets the provisioningState property: Provisioning state of the Client resource.

Returns:

the provisioningState value.

refresh

public abstract Client refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Client refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

state

public abstract ClientState state()

Gets the state property: Indicates if the client is enabled or not. Default value is Enabled.

Returns:

the state value.

systemData

public abstract SystemData systemData()

Gets the systemData property: The system metadata relating to the Event Grid resource.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Client.Update update()

Begins update for the Client resource.

Returns:

the stage of resource update.

Applies to