1. Packages
  2. Cisco Meraki
  3. API Docs
  4. organizations
  5. LicensesMove
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.organizations.LicensesMove

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    ~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.LicensesMove;
    import com.pulumi.meraki.organizations.LicensesMoveArgs;
    import com.pulumi.meraki.organizations.inputs.LicensesMoveParametersArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new LicensesMove("example", LicensesMoveArgs.builder()
                .organizationId("string")
                .parameters(LicensesMoveParametersArgs.builder()
                    .dest_organization_id("2930418")
                    .license_ids(                
                        "123",
                        "456")
                    .build())
                .build());
    
            ctx.export("merakiOrganizationsLicensesMoveExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:organizations:LicensesMove
        properties:
          organizationId: string
          parameters:
            dest_organization_id: '2930418'
            license_ids:
              - '123'
              - '456'
    outputs:
      merakiOrganizationsLicensesMoveExample: ${example}
    

    Create LicensesMove Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LicensesMove(name: string, args: LicensesMoveArgs, opts?: CustomResourceOptions);
    @overload
    def LicensesMove(resource_name: str,
                     args: LicensesMoveArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def LicensesMove(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     organization_id: Optional[str] = None,
                     parameters: Optional[LicensesMoveParametersArgs] = None)
    func NewLicensesMove(ctx *Context, name string, args LicensesMoveArgs, opts ...ResourceOption) (*LicensesMove, error)
    public LicensesMove(string name, LicensesMoveArgs args, CustomResourceOptions? opts = null)
    public LicensesMove(String name, LicensesMoveArgs args)
    public LicensesMove(String name, LicensesMoveArgs args, CustomResourceOptions options)
    
    type: meraki:organizations:LicensesMove
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LicensesMoveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LicensesMoveArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LicensesMoveArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LicensesMoveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LicensesMoveArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var licensesMoveResource = new Meraki.Organizations.LicensesMove("licensesMoveResource", new()
    {
        OrganizationId = "string",
        Parameters = new Meraki.Organizations.Inputs.LicensesMoveParametersArgs
        {
            DestOrganizationId = "string",
            LicenseIds = new[]
            {
                "string",
            },
        },
    });
    
    example, err := organizations.NewLicensesMove(ctx, "licensesMoveResource", &organizations.LicensesMoveArgs{
    	OrganizationId: pulumi.String("string"),
    	Parameters: &organizations.LicensesMoveParametersArgs{
    		DestOrganizationId: pulumi.String("string"),
    		LicenseIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    })
    
    var licensesMoveResource = new LicensesMove("licensesMoveResource", LicensesMoveArgs.builder()
        .organizationId("string")
        .parameters(LicensesMoveParametersArgs.builder()
            .destOrganizationId("string")
            .licenseIds("string")
            .build())
        .build());
    
    licenses_move_resource = meraki.organizations.LicensesMove("licensesMoveResource",
        organization_id="string",
        parameters=meraki.organizations.LicensesMoveParametersArgs(
            dest_organization_id="string",
            license_ids=["string"],
        ))
    
    const licensesMoveResource = new meraki.organizations.LicensesMove("licensesMoveResource", {
        organizationId: "string",
        parameters: {
            destOrganizationId: "string",
            licenseIds: ["string"],
        },
    });
    
    type: meraki:organizations:LicensesMove
    properties:
        organizationId: string
        parameters:
            destOrganizationId: string
            licenseIds:
                - string
    

    LicensesMove Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LicensesMove resource accepts the following input properties:

    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesMoveParameters
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesMoveParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters LicensesMoveParameters
    organizationId string
    organizationId path parameter. Organization ID
    parameters LicensesMoveParameters
    organization_id str
    organizationId path parameter. Organization ID
    parameters LicensesMoveParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LicensesMove resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item LicensesMoveItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item LicensesMoveItem
    id String
    The provider-assigned unique ID for this managed resource.
    item LicensesMoveItem
    id string
    The provider-assigned unique ID for this managed resource.
    item LicensesMoveItem
    id str
    The provider-assigned unique ID for this managed resource.
    item LicensesMoveItem
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map

    Look up Existing LicensesMove Resource

    Get an existing LicensesMove resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LicensesMoveState, opts?: CustomResourceOptions): LicensesMove
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            item: Optional[LicensesMoveItemArgs] = None,
            organization_id: Optional[str] = None,
            parameters: Optional[LicensesMoveParametersArgs] = None) -> LicensesMove
    func GetLicensesMove(ctx *Context, name string, id IDInput, state *LicensesMoveState, opts ...ResourceOption) (*LicensesMove, error)
    public static LicensesMove Get(string name, Input<string> id, LicensesMoveState? state, CustomResourceOptions? opts = null)
    public static LicensesMove get(String name, Output<String> id, LicensesMoveState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Item LicensesMoveItem
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesMoveParameters
    Item LicensesMoveItemArgs
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters LicensesMoveParametersArgs
    item LicensesMoveItem
    organizationId String
    organizationId path parameter. Organization ID
    parameters LicensesMoveParameters
    item LicensesMoveItem
    organizationId string
    organizationId path parameter. Organization ID
    parameters LicensesMoveParameters
    item LicensesMoveItemArgs
    organization_id str
    organizationId path parameter. Organization ID
    parameters LicensesMoveParametersArgs
    item Property Map
    organizationId String
    organizationId path parameter. Organization ID
    parameters Property Map

    Supporting Types

    LicensesMoveItem, LicensesMoveItemArgs

    DestOrganizationId string
    The ID of the organization to move the licenses to
    LicenseIds List<string>
    A list of IDs of licenses to move to the new organization
    DestOrganizationId string
    The ID of the organization to move the licenses to
    LicenseIds []string
    A list of IDs of licenses to move to the new organization
    destOrganizationId String
    The ID of the organization to move the licenses to
    licenseIds List<String>
    A list of IDs of licenses to move to the new organization
    destOrganizationId string
    The ID of the organization to move the licenses to
    licenseIds string[]
    A list of IDs of licenses to move to the new organization
    dest_organization_id str
    The ID of the organization to move the licenses to
    license_ids Sequence[str]
    A list of IDs of licenses to move to the new organization
    destOrganizationId String
    The ID of the organization to move the licenses to
    licenseIds List<String>
    A list of IDs of licenses to move to the new organization

    LicensesMoveParameters, LicensesMoveParametersArgs

    DestOrganizationId string
    The ID of the organization to move the licenses to
    LicenseIds List<string>
    A list of IDs of licenses to move to the new organization
    DestOrganizationId string
    The ID of the organization to move the licenses to
    LicenseIds []string
    A list of IDs of licenses to move to the new organization
    destOrganizationId String
    The ID of the organization to move the licenses to
    licenseIds List<String>
    A list of IDs of licenses to move to the new organization
    destOrganizationId string
    The ID of the organization to move the licenses to
    licenseIds string[]
    A list of IDs of licenses to move to the new organization
    dest_organization_id str
    The ID of the organization to move the licenses to
    license_ids Sequence[str]
    A list of IDs of licenses to move to the new organization
    destOrganizationId String
    The ID of the organization to move the licenses to
    licenseIds List<String>
    A list of IDs of licenses to move to the new organization

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi