Interface Service
public interface Service
An immutable client-side representation of Service.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The entirety of the Service definition.static interface
The Service definition stages.static interface
The template for Service update.static interface
The Service update stages. -
Method Summary
Modifier and TypeMethodDescriptionExports the effective metadata schema.exportMetadataSchema
(MetadataSchemaExportRequest body, com.azure.core.util.Context context) Exports the effective metadata schema.id()
Gets the id property: Fully qualified resource Id for the resource.identity()
Gets the identity property: The managed service identities assigned to this resource.Gets the inner com.azure.resourcemanager.apicenter.fluent.models.ServiceInner object.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.Gets the properties property: The resource-specific properties for this resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the Service resource.
-
Method Details
-
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.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
properties
ServiceProperties properties()Gets the properties property: The resource-specific properties for this resource.- Returns:
- the properties value.
-
identity
ManagedServiceIdentity identity()Gets the identity property: The managed service identities assigned to this resource.- Returns:
- the identity value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData 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.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ServiceInner innerModel()Gets the inner com.azure.resourcemanager.apicenter.fluent.models.ServiceInner object.- Returns:
- the inner object.
-
update
Service.Update update()Begins update for the Service resource.- Returns:
- the stage of resource update.
-
refresh
Service refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
exportMetadataSchema
Exports the effective metadata schema.- Parameters:
body
- The content of the action request.- Returns:
- the metadata schema export result.
- 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.
-
exportMetadataSchema
MetadataSchemaExportResult exportMetadataSchema(MetadataSchemaExportRequest body, com.azure.core.util.Context context) Exports the effective metadata schema.- Parameters:
body
- The content of the action request.context
- The context to associate with this operation.- Returns:
- the metadata schema export result.
- 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.
-