Class ProfileInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.cdn.fluent.models.ProfileInner
-
public class ProfileInner extends com.azure.core.management.ResourceCDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
-
-
Constructor Summary
Constructors Constructor Description ProfileInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfrontdoorId()Get the frontdoorId property: The Id of the frontdoor.StringprovisioningState()Get the provisioningState property: Provisioning status of the profile.ProfileResourceStateresourceState()Get the resourceState property: Resource status of the profile.Skusku()Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.voidvalidate()Validates the instance.ProfileInnerwithLocation(String location)ProfileInnerwithSku(Sku sku)Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.ProfileInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
sku
public Sku sku()
Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.- Returns:
- the sku value.
-
withSku
public ProfileInner withSku(Sku sku)
Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.- Parameters:
sku- the sku value to set.- Returns:
- the ProfileInner object itself.
-
resourceState
public ProfileResourceState resourceState()
Get the resourceState property: Resource status of the profile.- Returns:
- the resourceState value.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning status of the profile.- Returns:
- the provisioningState value.
-
frontdoorId
public String frontdoorId()
Get the frontdoorId property: The Id of the frontdoor.- Returns:
- the frontdoorId value.
-
withLocation
public ProfileInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public ProfileInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-