**************************** The Orchestration Class **************************** The orchestration high-level interface is available through the orchestration member of a Connection object. The orchestration member will only be added if the service is detected. Stack Operations ============================== openstack.orchestration.v1._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs) create_stack --------------------------------- .. confval:: create_stack(preview, **attrs) 속성에서 새 스택 만들기 :Parameters: preview (bool) When True, a preview endpoint will be used toverify the templateDefault: ``False``attrs (dict) Keyword arguments which will be used to createa Stack,comprised of the properties on the Stack class. :Returns: The results of stack creation :Return type: Stack find_stack --------------------------------- .. confval:: find_stack(name_or_id, ignore_missing, resolve_outputs) 단일 스택 찾기 :Parameters: name_or_id The name or ID of a stack.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource. :Returns: One Stack or None stacks --------------------------------- .. confval:: stacks(**query) 스택 생성기 반환 :Parameters: query (kwargs) Optional query parameters to be sent to limitthe resources being returned. :Returns: A generator of stack objects :Return type: Stack get_stack --------------------------------- .. confval:: get_stack(stack, resolve_outputs) 단일 스택 가져오기 :Parameters: stack The value can be the ID of a stack or aStack instance.resolve_outputs Whether stack should contain outputs resolved. :Returns: One Stack :Raises: ResourceNotFoundwhen no resource can be found. update_stack --------------------------------- .. confval:: update_stack(stack, preview, **attrs) 스택 업데이트 :Parameters: stack The value can be the ID of a stack or aStack instance.attrs (kwargs) The attributes to update on the stackrepresented by value. :Returns: The updated stack :Return type: Stack :Raises: ResourceNotFoundwhen no resource can be found. delete_stack --------------------------------- .. confval:: delete_stack(stack, ignore_missing) 스택 삭제 :Parameters: stack The value can be either the ID of a stack or aStackinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the stack does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent stack. :Returns: None check_stack --------------------------------- .. confval:: check_stack(stack) 스택 €™ 상태 확인 :Parameters: stack The value can be either the ID of a stack or an instanceof Stack. :Returns: None export_stack --------------------------------- .. confval:: export_stack(stack) 스택 데이터를 JSON 형식으로 가져옵니다 :Parameters: stack The value can be the ID or a name oran instance of Stack :Returns: A dictionary containing the stack data. :Raises: ResourceNotFoundwhen no resource can be found. suspend_stack --------------------------------- .. confval:: suspend_stack(stack) 스택 상태 일시 중단 :Parameters: stack The value can be either the ID of a stack or an instanceof Stack. :Returns: None resume_stack --------------------------------- .. confval:: resume_stack(stack) 스택 상태 재개 :Parameters: stack The value can be either the ID of a stack or an instanceof Stack. :Returns: None get_stack_template --------------------------------- .. confval:: get_stack_template(stack) 스택에서 사용하는 템플릿 가져오기 :Parameters: stack The value can be the ID of a stack or an instance ofStack :Returns: One object ofStackTemplate :Raises: ResourceNotFoundwhen no resource can be found. get_stack_environment --------------------------------- .. confval:: get_stack_environment(stack) 스택에서 사용하는 환경 가져오기 :Parameters: stack The value can be the ID of a stack or an instance ofStack :Returns: One object ofStackEnvironment :Raises: ResourceNotFound when noresource can be found. get_stack_files --------------------------------- .. confval:: get_stack_files(stack) 스택에서 사용하는 파일 가져오기 :Parameters: stack The value can be the ID of a stack or an instance ofStack :Returns: A dictionary containing the names and contents of all filesused by the stack. :Raises: ResourceNotFoundwhen the stack cannot be found. resources --------------------------------- .. confval:: resources(stack, **query) 리소스 생성기 반환 :Parameters: stack This can be a stack object, or the name of a stackfor which the resources are to be listed.query (kwargs) Optional query parameters to be sent to limitthe resources being returned. :Returns: A generator of resource objects if the stack exists andthere are resources in it. If the stack cannot be found,an exception is thrown. :Return type: A generator ofResource :Raises: ResourceNotFoundwhen the stack cannot be found. validate_template --------------------------------- .. confval:: validate_template(template, environment, template_url, ignore_errors) 템플릿의 유효성을 검사합니다. :Parameters: template The stack template on which the validation isperformed.environment A JSON environment for the stack, if provided.template_url A URI to the location containing the stacktemplate for validation. This parameter is onlyrequired if the template parameter is None.This parameter is ignored if template isspecified.ignore_errors A string containing comma separated error codesto ignore. Currently the only valid error codeis 99001. :Returns: The result of template validation. :Raises: InvalidRequest if neithertemplate not template_url is provided. :Raises: HttpException if the templatefails the validation. Stack Event Operations ============================== openstack.orchestration.v1._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs) stack_events --------------------------------- .. confval:: stack_events(stack, resource_name, **attr) 스택 이벤트 가져오기 :Parameters: stack The value can be the ID of a stack or an instance ofStackresource_name The name of resource. If the resource_name is not None,the base_path changes. :Returns: A generator of stack_events objects :Return type: StackEvent Software Configuration Operations ============================== openstack.orchestration.v1._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs) create_software_config --------------------------------- .. confval:: create_software_config(**attrs) 속성에서 새 소프트웨어 구성 생성 :Parameters: attrs (dict) Keyword arguments which will be used to create aSoftwareConfig,comprised of the properties on the SoftwareConfig class. :Returns: The results of software config creation :Return type: SoftwareConfig software_configs --------------------------------- .. confval:: software_configs(**query) 소프트웨어 구성의 생성기를 반환합니다 :Parameters: query (dict) Optional query parameters to be sent to limit thesoftware configs returned. :Returns: A generator of software config objects. :Return type: SoftwareConfig get_software_config --------------------------------- .. confval:: get_software_config(software_config) 특정 소프트웨어 구성에 대한 세부 정보를 가져옵니다. :Parameters: software_config The value can be the ID of a software configor a instace ofSoftwareConfig, :Returns: An object of typeSoftwareConfig delete_software_config --------------------------------- .. confval:: delete_software_config(software_config, ignore_missing) 소프트웨어 구성 삭제 :Parameters: software_config The value can be either the ID of a softwareconfig or an instance ofSoftwareConfigignore_missing (bool) When set to FalseResourceNotFound will beraised when the software config does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent software config. :Returns: None Software Deployment Operations ============================== openstack.orchestration.v1._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs) create_software_deployment --------------------------------- .. confval:: create_software_deployment(**attrs) 속성에서 새 소프트웨어 배포 생성 :Parameters: attrs (dict) Keyword arguments which will be used to create aSoftwareDeployment,comprised of the properties on the SoftwareDeployment class. :Returns: The results of software deployment creation :Return type: SoftwareDeployment software_deployments --------------------------------- .. confval:: software_deployments(**query) 소프트웨어 배포 생성기를 반환합니다 :Parameters: query (dict) Optional query parameters to be sent to limit thesoftware deployments returned. :Returns: A generator of software deployment objects. :Return type: SoftwareDeployment get_software_deployment --------------------------------- .. confval:: get_software_deployment(software_deployment) 특정 소프트웨어 배포 리소스에 대한 세부 정보 가져오기 :Parameters: software_deployment The value can be the ID of a softwaredeployment or an instace ofSoftwareDeployment, :Returns: An object of typeSoftwareDeployment delete_software_deployment --------------------------------- .. confval:: delete_software_deployment(software_deployment, ignore_missing) 소프트웨어 배포 삭제 :Parameters: software_deployment The value can be either the ID of asoftware deployment or an instance ofSoftwareDeploymentignore_missing (bool) When set to FalseResourceNotFound will beraised when the software deployment does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent software deployment. :Returns: None update_software_deployment --------------------------------- .. confval:: update_software_deployment(software_deployment, **attrs) 소프트웨어 배포 업데이트 :Parameters: server Either the ID of a software deployment or an instance ofSoftwareDeploymentattrs (dict) The attributes to update on the software deploymentrepresented by software_deployment. :Returns: The updated software deployment :Return type: SoftwareDeployment