Interface Factory
-
public interface Factory
An immutable client-side representation of Factory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Factory.Definition
The entirety of the Factory definition.static interface
Factory.DefinitionStages
The Factory definition stages.static interface
Factory.Update
The template for Factory update.static interface
Factory.UpdateStages
The Factory update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Gets the additionalProperties property: Factory resource type.OffsetDateTime
createTime()
Gets the createTime property: Time the factory was created in ISO8601 format.EncryptionConfiguration
encryption()
Gets the encryption property: Properties to enable Customer Managed Key for the factory.String
etag()
Gets the etag property: Etag identifies change in the resource.AccessPolicyResponse
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.GitHubAccessTokenResponse
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.Map<String,GlobalParameterSpecification>
globalParameters()
Gets the globalParameters property: List of parameters for factory.String
id()
Gets the id property: Fully qualified resource Id for the resource.FactoryIdentity
identity()
Gets the identity property: Managed service identity of the factory.FactoryInner
innerModel()
Gets the inner com.azure.resourcemanager.datafactory.fluent.models.FactoryInner object.String
location()
Gets the location property: The geo-location where the resource lives.String
name()
Gets the name property: The name of the resource.String
provisioningState()
Gets the provisioningState property: Factory provisioning state, example Succeeded.PublicNetworkAccess
publicNetworkAccess()
Gets the publicNetworkAccess property: Whether or not public network access is allowed for the data factory.Factory
refresh()
Refreshes the resource to sync with Azure.Factory
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.String
regionName()
Gets the name of the resource region.FactoryRepoConfiguration
repoConfiguration()
Gets the repoConfiguration property: Git repo information of the factory.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.Factory.Update
update()
Begins update for the Factory resource.String
version()
Gets the version property: Version of the factory.
-
-
-
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.
-
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
Map<String,Object> 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.
-
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.
-
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
Factory 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.
-
getGitHubAccessToken
GitHubAccessTokenResponse getGitHubAccessToken(GitHubAccessTokenRequest gitHubAccessTokenRequest)
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.
-
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.
-
getDataPlaneAccess
AccessPolicyResponse getDataPlaneAccess(UserAccessPolicy policy)
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.
-
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.
-
-