Interface Factory
public interface Factory
An immutable client-side representation of Factory.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Factory definition.static interface
The Factory definition stages.static interface
The template for Factory update.static interface
The Factory update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the additionalProperties property: Factory resource type.Gets the createTime property: Time the factory was created in ISO8601 format.Gets the encryption property: Properties to enable Customer Managed Key for the factory.etag()
Gets the etag property: Etag identifies change in the resource.getDataPlaneAccess
(UserAccessPolicy policy) Get Data Plane access.com.azure.core.http.rest.Response<AccessPolicyResponse>
getDataPlaneAccessWithResponse
(UserAccessPolicy policy, com.azure.core.util.Context context) Get Data Plane access.getGitHubAccessToken
(GitHubAccessTokenRequest gitHubAccessTokenRequest) Get GitHub Access Token.com.azure.core.http.rest.Response<GitHubAccessTokenResponse>
getGitHubAccessTokenWithResponse
(GitHubAccessTokenRequest gitHubAccessTokenRequest, com.azure.core.util.Context context) Get GitHub Access Token.Gets the globalParameters property: List of parameters for factory.id()
Gets the id property: Fully qualified resource Id for the resource.identity()
Gets the identity property: Managed service identity of the factory.Gets the inner com.azure.resourcemanager.datafactory.fluent.models.FactoryInner 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 provisioningState property: Factory provisioning state, example Succeeded.Gets the publicNetworkAccess property: Whether or not public network access is allowed for the data factory.Gets the purviewConfiguration property: Purview information of the factory.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 repoConfiguration property: Git repo information of the factory.Gets the name of the resource group.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the Factory resource.version()
Gets the version property: Version of the factory.
-
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.
-
identity
FactoryIdentity identity()Gets the identity property: Managed service identity of the factory.- Returns:
- the identity value.
-
etag
String etag()Gets the etag property: Etag identifies change in the resource.- Returns:
- the etag value.
-
additionalProperties
Gets the additionalProperties property: Factory resource type.- Returns:
- the additionalProperties value.
-
provisioningState
String provisioningState()Gets the provisioningState property: Factory provisioning state, example Succeeded.- Returns:
- the provisioningState value.
-
createTime
OffsetDateTime createTime()Gets the createTime property: Time the factory was created in ISO8601 format.- Returns:
- the createTime value.
-
version
String version()Gets the version property: Version of the factory.- Returns:
- the version value.
-
purviewConfiguration
PurviewConfiguration purviewConfiguration()Gets the purviewConfiguration property: Purview information of the factory.- Returns:
- the purviewConfiguration value.
-
repoConfiguration
FactoryRepoConfiguration repoConfiguration()Gets the repoConfiguration property: Git repo information of the factory.- Returns:
- the repoConfiguration value.
-
globalParameters
Map<String,GlobalParameterSpecification> globalParameters()Gets the globalParameters property: List of parameters for factory.- Returns:
- the globalParameters value.
-
encryption
EncryptionConfiguration encryption()Gets the encryption property: Properties to enable Customer Managed Key for the factory.- Returns:
- the encryption value.
-
publicNetworkAccess
PublicNetworkAccess publicNetworkAccess()Gets the publicNetworkAccess property: Whether or not public network access is allowed for the data factory.- Returns:
- the publicNetworkAccess 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
FactoryInner innerModel()Gets the inner com.azure.resourcemanager.datafactory.fluent.models.FactoryInner object.- Returns:
- the inner object.
-
update
Factory.Update update()Begins update for the Factory resource.- Returns:
- the stage of resource update.
-
refresh
Factory 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.
-
getGitHubAccessTokenWithResponse
com.azure.core.http.rest.Response<GitHubAccessTokenResponse> getGitHubAccessTokenWithResponse(GitHubAccessTokenRequest gitHubAccessTokenRequest, com.azure.core.util.Context context) Get GitHub Access Token.- Parameters:
gitHubAccessTokenRequest
- Get GitHub access token request definition.context
- The context to associate with this operation.- Returns:
- gitHub Access Token along with
Response
. - 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.
-
getGitHubAccessToken
Get GitHub Access Token.- Parameters:
gitHubAccessTokenRequest
- Get GitHub access token request definition.- Returns:
- gitHub Access Token.
- 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.
-
getDataPlaneAccessWithResponse
com.azure.core.http.rest.Response<AccessPolicyResponse> getDataPlaneAccessWithResponse(UserAccessPolicy policy, com.azure.core.util.Context context) Get Data Plane access.- Parameters:
policy
- Data Plane user access policy definition.context
- The context to associate with this operation.- Returns:
- data Plane access along with
Response
. - 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.
-
getDataPlaneAccess
Get Data Plane access.- Parameters:
policy
- Data Plane user access policy definition.- Returns:
- data Plane access.
- 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.
-