BuildServiceOperations Class

BuildServiceOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
BuildServiceOperations

Constructor

BuildServiceOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

create_or_update_build

Create or update a KPack build.

get_build

Get a KPack build.

get_build_result

Get a KPack build result.

get_build_result_log

Get a KPack build result log download URL.

get_build_service

Get a build service resource.

get_resource_upload_url

Get an resource upload URL for build service, which may be artifacts or source archive.

get_supported_buildpack

Get the supported buildpack resource.

get_supported_stack

Get the supported stack resource.

list_build_results

List KPack build results.

list_build_services

List build services resource.

list_builds

List KPack builds.

list_supported_buildpacks

Get all supported buildpacks.

list_supported_stacks

Get all supported stacks.

create_or_update_build

Create or update a KPack build.

async create_or_update_build(resource_group_name: str, service_name: str, build_service_name: str, build_name: str, build: azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.Build, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.Build

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

build_name
str
Required

The name of the build resource.

build
Build
Required

Parameters for the create or update operation.

cls
callable

A custom type or function that will be passed the direct response

Returns

Build, or the result of cls(response)

Return type

Exceptions

get_build

Get a KPack build.

async get_build(resource_group_name: str, service_name: str, build_service_name: str, build_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.Build

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

build_name
str
Required

The name of the build resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

Build, or the result of cls(response)

Return type

Exceptions

get_build_result

Get a KPack build result.

async get_build_result(resource_group_name: str, service_name: str, build_service_name: str, build_name: str, build_result_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.BuildResult

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

build_name
str
Required

The name of the build resource.

build_result_name
str
Required

The name of the build result resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

BuildResult, or the result of cls(response)

Return type

Exceptions

get_build_result_log

Get a KPack build result log download URL.

async get_build_result_log(resource_group_name: str, service_name: str, build_service_name: str, build_name: str, build_result_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.BuildResultLog

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

build_name
str
Required

The name of the build resource.

build_result_name
str
Required

The name of the build result resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

BuildResultLog, or the result of cls(response)

Return type

Exceptions

get_build_service

Get a build service resource.

async get_build_service(resource_group_name: str, service_name: str, build_service_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.BuildService

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

BuildService, or the result of cls(response)

Return type

Exceptions

get_resource_upload_url

Get an resource upload URL for build service, which may be artifacts or source archive.

async get_resource_upload_url(resource_group_name: str, service_name: str, build_service_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.ResourceUploadDefinition

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

ResourceUploadDefinition, or the result of cls(response)

Return type

Exceptions

get_supported_buildpack

Get the supported buildpack resource.

async get_supported_buildpack(resource_group_name: str, service_name: str, build_service_name: str, buildpack_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.SupportedBuildpackResource

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

buildpack_name
str
Required

The name of the buildpack resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

SupportedBuildpackResource, or the result of cls(response)

Return type

Exceptions

get_supported_stack

Get the supported stack resource.

async get_supported_stack(resource_group_name: str, service_name: str, build_service_name: str, stack_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.SupportedStackResource

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

stack_name
str
Required

The name of the stack resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

SupportedStackResource, or the result of cls(response)

Return type

Exceptions

list_build_results

List KPack build results.

list_build_results(resource_group_name: str, service_name: str, build_service_name: str, build_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.BuildResultCollection]

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

build_name
str
Required

The name of the build resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either BuildResultCollection or the result of cls(response)

Return type

Exceptions

list_build_services

List build services resource.

list_build_services(resource_group_name: str, service_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.BuildServiceCollection]

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either BuildServiceCollection or the result of cls(response)

Return type

Exceptions

list_builds

List KPack builds.

list_builds(resource_group_name: str, service_name: str, build_service_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.BuildCollection]

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either BuildCollection or the result of cls(response)

Return type

Exceptions

list_supported_buildpacks

Get all supported buildpacks.

async list_supported_buildpacks(resource_group_name: str, service_name: str, build_service_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.SupportedBuildpacksCollection

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

SupportedBuildpacksCollection, or the result of cls(response)

Return type

Exceptions

list_supported_stacks

Get all supported stacks.

async list_supported_stacks(resource_group_name: str, service_name: str, build_service_name: str, **kwargs: Any) -> azure.mgmt.appplatform.v2022_01_01_preview.models._models_py3.SupportedStacksCollection

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name
str
Required

The name of the Service resource.

build_service_name
str
Required

The name of the build service resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

SupportedStacksCollection, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.appplatform.v2022_01_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\appplatform\\v2022_01_01_preview\\models\\__init__.py'>